mwood Posted June 6, 2007 Posted June 6, 2007 After adding the information.php info box to my oscommerce template, the border is messed up....Any idea why this happens and what I can try to fix it? Click here to see issue: pic of issue Thanks in advance, Matt
Nullachtfuffzehn Posted June 6, 2007 Posted June 6, 2007 Looks like the table-tags are messed up somehow. A look at the sourcecode of your index page would make things clearer.
mwood Posted June 6, 2007 Author Posted June 6, 2007 Looks like the table-tags are messed up somehow. A look at the sourcecode of your index page would make things clearer. <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" width="10" height="35" border="0" alt=""></td> <td width="100%" height="14" class="infoBoxHeading">Information</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" width="100%" height="1" border="0" alt=""></td> </tr> <tr> Here is the data surrounding the information box in the source of the index.php page...Does this help?
mwood Posted June 6, 2007 Author Posted June 6, 2007 anyone????? :( I can't figure this problem out. It happens with any info box I insert to the site. What information can I provide that will assist in determining the cause of this graphical issue?
mTemple Posted June 6, 2007 Posted June 6, 2007 anyone????? :(I can't figure this problem out. It happens with any info box I insert to the site. What information can I provide that will assist in determining the cause of this graphical issue? I link to the page would help. Also, is this problem only occurring in IE or Firefox or both? If it's one then there's probably a cross-browser compatibility issue at work.
mwood Posted June 6, 2007 Author Posted June 6, 2007 I link to the page would help. Also, is this problem only occurring in IE or Firefox or both? If it's one then there's probably a cross-browser compatibility issue at work. I have only used IE6 and IE7 so far and the issue resides on both version of the IE browser. The pic in my original post shows clearly that the info box left corner graphic is the right corner graphic and the right side of info box has no corner at all.... I don't know..... :(
mwood Posted June 8, 2007 Author Posted June 8, 2007 I have only used IE6 and IE7 so far and the issue resides on both version of the IE browser. The pic in my original post shows clearly that the info box left corner graphic is the right corner graphic and the right side of info box has no corner at all.... I don't know..... :( Has anyone experienced this???? I haven't received much feedback surrounding possible fixes. Any help would be appreciated. Thanks in advance :)
phantompressents Posted June 8, 2007 Posted June 8, 2007 it looks like you havnt finished of the code fully i think there should be a couple of closing</table> towards the bottom. i have found boxes are notorious for being a right git when it comes to doing what you want them to do. here is my code from my info box im also using graphic borders on the info boxes.. note there are no <table> </table> parts its all a simple as poss <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_RSS, '', 'NONSSL', false) . '">' . BOX_INFORMATION_RSS . tep_image(DIR_WS_IMAGES . "icons/rss_icon.jpg" , STORE_NAME . " - " . BOX_INFORMATION_RSS) . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>'. '<a href="' . tep_href_link(FILENAME_DYNAMIC_SITEMAP) . '">' . BOX_INFORMATION_DYNAMIC_SITEMAP . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
Recommended Posts
Archived
This topic is now archived and is closed to further replies.