[thelist] Centering and floats

Joel Konkle-Parker jjk3 at msstate.edu
Mon Jun 14 08:49:28 CDT 2004


I feel like this should be a trivial thing to do, so it makes me think I'm
missing something...

Take a look at the attached page (and stylesheet). The nav bars on the top and
bottom are centered, with a right float for right-aligned stuff. I turned on
borders for clarity.

On Mozilla 1.0, at least, the centered link appears to only take into
consideration the width of the page minus the width of the float. But aren't
floats supposed to remove the content from the flow of the page, so it wouldn't
effect centering?

Here's an ASCII art of the way it shows up on my screen:

---------------------------------------------------------
               ----                       ---------------
                                          |   (float)   |
          (should be centered             ---------------
              on the page)


---------------------------------------------------------


Thanks in advance.


--
Joel Konkle-Parker
Webmaster  [Ballsome.com]

E-mail     [jjk3 at msstate.edu]
Phone      [662-518-1636]


More information about the thelist mailing list