|
Posted by -Lost on 12/22/06 23:22
"K A Nuttall" <keith@yammer.coedotyoukay.invalid> wrote in message
news:Xns98A1C0E1DC6A3KeithYammer@212.23.3.119...
> Jonathan N. Little wrote:
>
>> IE problem is a round off error. Pisser,but you can compromise by
>> tweaking the LI to:
>>
>> .hzmenu li {
>> width: 19.95%;
>> }
>>
>> It is a PITA though, take it up with MS, they don't seem compelled
>> to really support CSS spec even for version 7. Maybe they need to
>> leave somethings to sell us on upgrading version 8 (Only available
>> with the Windows after Vista!)
>
> Thanks. I used something very similar on the real site. It's not
> condusive to designing fluid layouts, when you can't even get the most
> popular browsers on the planet to add up to 100.
>
> As an aside, something I've always wondered is: how do agents actually
> handle these 'mad' percentages? I'm sure I read somewhere that setting
> font-size in percentages was hit and miss, unless working in 5%
> graduations. Do browsers really take notice of 0.05% widths?
>
> What would be nice is if there's some way of introducing a small margin
> on either side of the page, which 'absorbs' any excess width without
> the wrapping.
I know this is not exactly what you intended by a margin absorbing the excess, but you
could always wrap the content (your horizontal menu for instance) in a wrapper and center
it. Thereby the few pixels left on either side will at least be even.
Another (horrid) way is to use a table as most do to get absolute widths and heights.
-Lost
[Back to original message]
|