Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

netscape 4 and navbars

How can I make it all line up nicely? plus "strong" query on vertical nav



2:10 pm on Mar 19, 2003 (gmt 0)

Inactive Member
Account Expired



I am trying to make a javascript free site for a large local government client who has mostly netscape4 (i know, but there are accessibility issues that need to be addressed for their clients)

I have made a lovely horizontal navbar that works beautifully in NS 6+ and IE4+, but fails on NS4 (of course). So I am writing a seperate stylesheet for this *lovely* browser

TIP: A great workaround to get around the lack of support for float in NS4 is to put a 1 pixel gif between the links and align="right" in the IMG tag, so they spread out across the page. Success! (this gif is also a great boon for people using screenreaders according to W3c guidelines, as it seperates out the links, but remember the blank alt tag)

I can do without float for background color change on mouseover, i think, unless anyone has any ideas

My problem is: the alignment is staggered: each block is a bit lower down than the one before it. I suspect it is 1 pixel and related to that gif. Does anyone know of any workarounds for this?

Also, on a vertical navbar, I have attached "strong" to the link you are in and this now messes up the spacing of the blocks. I have tried to remove borders and padding from strong, which at least makes it visible, but the block is only as long as the text now, and takes up less room than the <a> styled blocks on the active links. So looks a dogs dinner. Any Ideas?

Finally, and thank you for your patience, does anyone know why css styled white text won't show up on a coloured background in NS4?

1:47 am on Mar 21, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 22, 2002
votes: 0

Welcome to WebmasterWorld! Try posting just the CSS [w3.org] and HTML4 [w3.org]/XHTML1 [w3.org] code associated with your problem and maybe someone here can get you straightened out.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members