[email protected] Posted March 6, 2004 Posted March 6, 2004 I looked around here for hours and couldn't find a decent straight answer and so I solved the problem on my own and thought I'd share it. Example at: My site Here's code. Place at top of header.php in includes folder. Only thing you'll need to do. //BORDER AROUND CART print ('<table width="750" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td bgcolor="#FFFFFF">');
Zoi Posted March 8, 2004 Posted March 8, 2004 Think your site is really nice, and i have been looking for the exact code you paste into here, thank you very much.. now i can start configure my site.. will share it once im near the finish line :) Thnx / Andrew :D
fmerrill Posted March 8, 2004 Posted March 8, 2004 Won't you then be missing the closing tags: </tr> </table> before the closing tag for the body (</body>) on every page that has a body tag? how well does it run through validation? http://validator.w3.org/
Guest Posted April 1, 2004 Posted April 1, 2004 Hi I did this & had this error //BORDER AROUND CARTprint (' at the top of the page. any suggestions. :rolleyes:
Guest Posted April 1, 2004 Posted April 1, 2004 Try adding <? php in front of and ?> behind the code you pasted in.
burt Posted April 1, 2004 Posted April 1, 2004 In header: <table width="750" cellpadding="0" cellspacing="0" class="outerbox" align="center"> ?<tr> ? ?<td> In footer: ? ?</td> ?</tr> </table> In stylesheet: .outerbox { ?border: 1px solid black; ?padding: 5px; }
paulm2003 Posted April 1, 2004 Posted April 1, 2004 Try adding <? php in front of and ?> behind the code you pasted in. hey that's funny, if that's true one might as well replace: <?php //BORDER AROUND CART print ('<table width="750" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td bgcolor="#FFFFFF">'); ?> with (so don't wrap it in <?php ?> this time!): <!-- BORDER AROUND CART --> <table width="750" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td bgcolor="#FFFFFF"> why switch to php only to execute a static print and then switch back again? By the way, I would prefer to use a div for this and add the settings to the stylesheet, but maybe that's more a matter of taste.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.