![]() |
|
Welcome to the CSS & Stylesheet Forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
|
|||
|
What's the current wisdom on styling lists for navigation. What I'd like is for: links and background colors to be 100% of the width. multi-line OK (ie links will wrap). Padding OK. Same width in IE as other browsers I'm finding that IE differs from conforming browsers in the way it calculates width after adding padding (yes, strict doctype.) I have a feeling that things have moved on fro the old ListAPart article on this. Also, I thought IE6 had no trouble with margin auto on a fixed width (with strict), but I'm having trouble with that and have resorted to the old text-align hack. Jeff |
| Sponsored Links |
|
|||
|
Jeff wrote: > What's the current wisdom on styling lists for navigation. http://css.maxdesign.com.au/listamatic/ > I'm finding that IE differs from conforming browsers in the way it > calculates width after adding padding (yes, strict doctype.) You must be triggering quirks mode for that to happen. http://hsivonen.iki.fi/doctype/ > Also, I thought IE6 had no trouble with margin auto on a fixed > width (with strict), It doesn't. You must be triggering quirks mode. Post a URL. -- Berg |
|
|||
|
Bergamot wrote:
> Jeff wrote: >> What's the current wisdom on styling lists for navigation. > > http://css.maxdesign.com.au/listamatic/ Thanks, I'll give it a read through > >> I'm finding that IE differs from conforming browsers in the way it >> calculates width after adding padding (yes, strict doctype.) > > You must be triggering quirks mode for that to happen. > http://hsivonen.iki.fi/doctype/ Thanks, you seem to have it. The validator complained about the url which I had as: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> Changed to this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd"> Should I be using 4.1 or is it 4.01? > >> Also, I thought IE6 had no trouble with margin auto on a fixed >> width (with strict), > > It doesn't. You must be triggering quirks mode. Post a URL. I think I have it now, but here, you won't like it though: http://www.fmtn.org/test2/city_gover...ion/index.html Jeff > |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
- Contact Us
-|-
CSS & Stylesheet Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise