Jump to content

vanishing line


matt9b

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/127492-vanishing-line/
Share on other sites

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> 

Link to comment
https://forums.phpfreaks.com/topic/127492-vanishing-line/#findComment-659620
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/127492-vanishing-line/#findComment-659811
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.