Posted by mbstevens on 06/01/06 16:29
fred.haab@gmail.com wrote:
> So the "requirement" is that the UL block itself is centered AS A
> WHOLE.
> <p>List Title:</p>
No. Use <hx>...</hx>
> <ul>
> <li>Item 1.</li>
> <li>Item two is a lot longer.</li>
> <li>Item three is, also.</li>
> </ul>
> .............
> Shouldn't there be a "float: center"?
> .............
A center column is sometimes handled by setting the left and right
columns to the same percentage, leaving the center column the remainder
of the alloted space.
http://www.glish.com/css/2.asp
For your purposes, modify it so that the <ul> block _is_ the center column.
Different browsers are liable not to render it exactly the same.
To my eye it's close enough.
One should not insist on pixel perfection on the web -- it's not to
be had except in images.
[Back to original message]
|