matt9b Posted October 8, 2008 Share Posted October 8, 2008 I'm baffled by this: Page 1 - Lines appear: http://www.imperfectsamples.com/website/samples/index.php Page 2 - Lines vanish: http://www.imperfectsamples.com/website/samples/braunschweig/braunschweiguprightpiano.php The code is identical in both pages- the only difference is the content table. If I make the lines 2pixels high in page 2, it suddenly re-appears, but I can't work out why. The lines should appear in both pages. I've been trying to fix this for some time, so any help much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/127492-vanishing-line/ Share on other sites More sharing options...
redarrow Posted October 8, 2008 Share Posted October 8, 2008 put it where it needs to be on all pages for the footer....... ps... very strange like a redering problam should always use templates really mate........... use <?php include("footer.php"); ?> footer.php <table width="770" border="0" cellspacing="1" cellpadding="1"> <tr> <td><img src="../images/line.jpg" width="770" height="1"></td> </tr> </table> <table width="770" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="518">All media © imperfect samples 2008 and/or its media providers. All rights reserved. </td> <td width="252"><div align="right"><a href="http://www.stedeford.com" target="_blank">site by Matt Stedeford </a></div></td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/127492-vanishing-line/#findComment-659620 Share on other sites More sharing options...
matt9b Posted October 8, 2008 Author Share Posted October 8, 2008 put it where it needs to be on all pages for the footer....... ps... very strange like a redering problam should always use templates really mate........... use <?php include("footer.php"); ?> footer.php <table width="770" border="0" cellspacing="1" cellpadding="1"> <tr> <td><img src="../images/line.jpg" width="770" height="1"></td> </tr> </table> <table width="770" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="518">All media © imperfect samples 2008 and/or its media providers. All rights reserved. </td> <td width="252"><div align="right"><a href="http://www.stedeford.com" target="_blank">site by Matt Stedeford </a></div></td> </tr> </table> D'oh! Its fine, turned out both pages were pointing to different images (i.e. one had a broken link) - very strange that the 2px fix worked!! Anyway I changed the link in line.html to a root-relative link and it now works. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/127492-vanishing-line/#findComment-659811 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.