Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Float Left or Absolute Position?
May 23, 2006, 2:28 pm
rate this thread
Can I ask what could potentially a stupid question? I have a
navigation list set to the left in two ways:
I have a feeling that the Float Left version keeps the flow of the
page better, maintaining a better logical structure than the absolute
position version. I also read the W3C guidelines, but was none the
Are there any benefits or disadvantages to each method or am I
splitting hairs a little :-)
Thanks for any advice,
Re: Float Left or Absolute Position?
One advantage is that you can put the absolutely positioned stuff
later in your html, enabling some folk and things (eg. search
engines) to get at your content "first". and the less immedietely
important stuff (navigation say, or a banner or whatever) later.
In your case, go with the float.
BTW, consider some em specs to divs and things (I have not looked
at your code but am guessing) so that when fonts are enlarged
they do not "jump the natural barriers".