homepage Welcome to WebmasterWorld Guest from 54.145.182.50
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
netscape 4 and navbars
How can I make it all line up nicely? plus "strong" query on vertical nav
nervous_tic

10+ Year Member



 
Msg#: 773 posted 2:10 pm on Mar 19, 2003 (gmt 0)

Hi.

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?

 

Birdman

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 773 posted 1:47 am on Mar 21, 2003 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved