strub Posted June 15, 2007 Share Posted June 15, 2007 Hy, I have a problem with CSS or perhaps with the table I don`t know for sure. The problem: In product_info.php: The right side goes further than the side is defined. I defined it to 800px but the right column goes about 30 px further right. And also the copyright powered by os commerce is not centered is about in the middle of the left middle. Any ideas thanks in adnvance Link to comment Share on other sites More sharing options...
aaanativearts Posted June 15, 2007 Share Posted June 15, 2007 Hy, I have a problem with CSS or perhaps with the table I don`t know for sure. The problem: In product_info.php: The right side goes further than the side is defined. I defined it to 800px but the right column goes about 30 px further right. And also the copyright powered by os commerce is not centered is about in the middle of the left middle. Any ideas thanks in adnvance If you define your template to 800px, but what you have in that page adds up to 830px, then the table will automatically stretch to accomodate it. Do you have a large image on that page or a wide table in the center column or something in your side columns that is stretching them or are your boxes defined too wide? Link to comment Share on other sites More sharing options...
aznkpride0922 Posted June 15, 2007 Share Posted June 15, 2007 you need to show us the section of codes for displaying on the screen. a temporary remedy could be wrapping the whold page with a div layer with specific width. something like this: <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <div style="width: 800px;"> . . . . </div> </body> I do this with my shop, and I use width: 1000px; instead of 800. Usually, it's the problem with unnoticed <td></td> that sticks out of the table, but the only remedy for that is to read the html tags and find it, and erase it correctly. Sometims it's even not extra <td></td>, but wrong colspan set at different part of the table. So, I suggest checking your <table> by showing its borders to check even easier. Link to comment Share on other sites More sharing options...
strub Posted June 15, 2007 Author Share Posted June 15, 2007 Many thanks for your reply It is very curious in firefox there is no error with CSS it looks fine but not in internet explorer. I am searching for nearly 6 hours about this but no success. Link to comment Share on other sites More sharing options...
strub Posted June 15, 2007 Author Share Posted June 15, 2007 Here must sth. be wrong but I do not know what Can help me somebody, please thanks in advance </table> </tr> <tr> <td class="main"><b><?php echo TEXT_CARDS_HEADING; ?></b></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"><td> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo TEXT_KARTEN_LINK; ?> <?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> <?php echo TEXT_KARTEN_TEXT; ?> <?php echo tep_draw_textarea_field('textcard', 'soft', '60', '5'); ?></td> <td class="main" valign="top" align="right"><?php echo '<a href="karten.php" onClick="FensterOeffnen(this.href); return false">' . tep_image_button('button_choose_card.jpg', IMAGE_BUTTON_CHOOSE_CARD); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.