Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

does a floated element require a fixed width to work?
 

The Master




quote this post edit post

IP Loged report this post

Old Post  07-27-04 - 12:16 AM  
I ask this because I have a bread Crumb navigation on this new design
layout:

http://www.goldhilmedia.com/showbug/finished.html

(the section I'm referring to is Main Category --> Sub Category 1 -->
Sub Sub Category, which is located right below the top navigation)
floats as intended in Opera 4-6, Ie5.x, Ie 6.0, Firefox, Safari 1.2,
Ie5.2mac, NN6x, Moz 1.0, and Moz 1.4. However in opera 7.5 it will not
float the bread crumb unless I specify a width on the UL element. This
causes a problem because it no longer expands and contracts as the
text dictates; on Further note specifying a width on the UL element
causes it to not float in Safari 1.2 or Opera 4-6, unless I specify a
width on it's containing div. But then I have to make the first UL in
the list 100%, and each subsequent a different length to make it work,
in other words more code bloat and not effective if the bread crumb
exceeds more than 2 subsections.

So which Browser or Browsers is floating properly? Opera 7.5, which
requires a specified width or the others, which don't require a
specified width?

If Opera 7.5 is the one getting it wrong how can I modify my CSS to
compensate for Opera 7.5 (preferably with out a hack, in other words
is their some default property on UL elements in opera 7.5 that is
causing them not to float)?

Thanks,
The Master


Post Follow-Up to this message ]
Re: does a floated element require a fixed width to work?
 

Spartanicus




quote this post edit post

IP Loged report this post

Old Post  07-27-04 - 12:16 AM  
tgross@goldhil.com (The Master) wrote:

Kindly place questions in the message body, corrected this once:

>does a floated element require a fixed width to work?

It does if the UA adheres to CSS 2.0 rules, not if it adheres to CSS 2.1
float rules (or if it's IE).

--
Spartanicus


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 02:49 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top