Gossamer Forum
Home : Products : Links 2.0 : Discussions :

H1 full width MSIE/not in Netscape

Quote Reply
H1 full width MSIE/not in Netscape
Hi!

I just noticed that while my main headers look great in MSIE, they extend only the width of the text in Netscape.

Would I amend links.css or the template itself? I tried making the td's 100%, but that didn't seem to work.

Any help will be much appreciated.

Thank you,
Rosalind
Quote Reply
Re: H1 full width MSIE/not in Netscape In reply to
Editing the .css file will allow you to make changes to the table and font layouts of your files.

I highly recommend NOT using .css files (and Style Sheets for that matter) because they are not consistently represented well across web browsers.

BTW: To make tables appear consistently across browsers and screen size resolutions, editing the <td> anchors will not do it. You have to add width=100 in the table tag, like the following:

Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0">

Hope this helps.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




[This message has been edited by Eliot (edited November 06, 1999).]
Quote Reply
Re: H1 full width MSIE/not in Netscape In reply to
There's nothing wrong with your tables. Netscape applies your header attributes only to the actual text between your header tag. MSIE applies it to the whole line.

This is what I use in place of header tags:
Code:
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr bgcolor="#494999">
<td bgcolor="#494999">
<font size="4" color="white">
<b>some text here</b>
</font>
</td>
</tr>
</table>

[This message has been edited by lordmouse (edited November 07, 1999).]