Web Hosting CSS & Stylesheet Forums

Add Me

User Name
Password
Go Back   CSS & Stylesheet Forums > CSS Forumz: Main > Style Sheet In General

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:



Reply
  #1 (permalink)  
Old 09-29-2008, 12:41 AM
Jeff
Guest
 
Posts: n/a
Diggs:
Default styling list for navigation



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
Reply With Quote


Sponsored Links
  #2 (permalink)  
Old 09-29-2008, 12:41 AM
Bergamot
Guest
 
Posts: n/a
Diggs:
Default Re: styling list for navigation


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
Reply With Quote


  #3 (permalink)  
Old 09-29-2008, 12:41 AM
Jeff
Guest
 
Posts: n/a
Diggs:
Default Re: styling list for navigation

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
>

Reply With Quote


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:52 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.




Inactive Reminders By Mished.co.uk