burnrich Posted October 2, 2009 Posted October 2, 2009 Hi Folks, I'm in the middle of customising my store and want the main content area minus the left and right columns to be the main content area of the store with a css style navigation menu or something along those inroads later down the track. I think I have a code error and the text I wan't in the left cell (I have split the main index file into two cells (left one for text and right cell for pictures). The right picture is doing what it's told as I simply inserted that into the pain index page but the dynamically created index text isnt! Here's the code for the languagues/english/index file..... Why couldn't the text be centreing on the page? define('TEXT_MAIN','<table width="589" table height="200" align="centre" border="0"> <tr> <td> adsfdsafsadf<br> adfsdafsadfs</td> </tr> </table>' );
multimixer Posted October 2, 2009 Posted October 2, 2009 define('TEXT_MAIN','<table width="589" table height="200" align="centre" border="0"><tr> <td> adsfdsafsadf<br> adfsdafsadfs</td> </tr> </table>' ); I can not understand exactly what you are trying to do, but "centre" is doing nothing while "center" is centering the table it self and a ---- text-align="center" ---- would center the text. But why to set this all in the language file and not in the stylesheet? My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.