My site uses table cells to place images as the background to allow text to be written over it. My problem is that this has worked for one cell in my site and not others. The text either doesn't show up or is halfway down the cell/image, no matter what I write for alignment or colour.
I have gotten my copyright text to show up using this code:
<td colspan="12" background="images/copyright.gif" width="539" height="26" alt=""><font face="verdana" size="2">Copyright (c) 2007 Peta Byrne. All Rights Reserved.</font></td>
but when I have tried this code or that from the tutorial on this website (complete with valign, color etc) on other areas of my site I have the above problems and I have no idea what is different. In 007iHost.com I can get the text but halfway down the image, and on Freehostia.com I get nothing (maybe I'm not waiting long enough for the server to process it?).
Any advice?#copyright {
width:539px;
height:26px;
font-family:verdana,sans-serif;
font-size:2;
background: url(images/copyright.gif);
}
and
<p id="copyright">Copyright (c) 2007 Peta Byrne. All Rights Reserved.</p>So is the code I was using wrong? Cos like I said the copyright bit worked, but if I tried to change
<td colspan="10">
<img src=http://www.webdeveloper.com/forum/archive/index.php/"images/introtext.gif" width="520" height="262" alt=""></td>
the same way to
<td colspan="10" background="images/introtext.gif" width="520" height="262" alt=""><font face="verdana" size="2">Intro Text Here</font></td>
or to
<td colspan="10" background="images/introtext.gif" width="520" height="262" alt="" valign="top"><FONT SIZE="+1" COLOR="blue">Intro text here</FONT></td>
I get no success. I'm afraid I'm a real beginner so a bit of extra help understanding this or how to use the code you provided would really be appreciated.Sorry, never mind, I worked it out. Ta.
I have gotten my copyright text to show up using this code:
<td colspan="12" background="images/copyright.gif" width="539" height="26" alt=""><font face="verdana" size="2">Copyright (c) 2007 Peta Byrne. All Rights Reserved.</font></td>
but when I have tried this code or that from the tutorial on this website (complete with valign, color etc) on other areas of my site I have the above problems and I have no idea what is different. In 007iHost.com I can get the text but halfway down the image, and on Freehostia.com I get nothing (maybe I'm not waiting long enough for the server to process it?).
Any advice?#copyright {
width:539px;
height:26px;
font-family:verdana,sans-serif;
font-size:2;
background: url(images/copyright.gif);
}
and
<p id="copyright">Copyright (c) 2007 Peta Byrne. All Rights Reserved.</p>So is the code I was using wrong? Cos like I said the copyright bit worked, but if I tried to change
<td colspan="10">
<img src=http://www.webdeveloper.com/forum/archive/index.php/"images/introtext.gif" width="520" height="262" alt=""></td>
the same way to
<td colspan="10" background="images/introtext.gif" width="520" height="262" alt=""><font face="verdana" size="2">Intro Text Here</font></td>
or to
<td colspan="10" background="images/introtext.gif" width="520" height="262" alt="" valign="top"><FONT SIZE="+1" COLOR="blue">Intro text here</FONT></td>
I get no success. I'm afraid I'm a real beginner so a bit of extra help understanding this or how to use the code you provided would really be appreciated.Sorry, never mind, I worked it out. Ta.