list items flowing around floats
David Hyatt
hyatt at apple.com
Mon Oct 20 01:50:26 CEST 2003
In Safari, inside list markers will automatically avoid floats, since
they sit inside the first line box.
In the latest internal CSS3 draft, the position of outside list markers
is in fact specified. You're supposed to position the outside marker
box as though it sits just outside a fictional line box that occurs
inside the list item. This means that if a float intersects, the
marker should end up being just to the left of a fictional line box
that starts just to the right of the float. If the float has no
margin, you will overlap.
The good news? This is precisely what Safari does. :)
Cheers,
dave
(hyatt at apple.com)
On Oct 20, 2003, at 12:06 AM, Dirk Mueller wrote:
> On Monday 20 October 2003 08:41, David Hyatt wrote:
>
>> It's caused by a style rule in our quirks.css that I had meant to ask
>> about.
>
> Ah, d'oh. The rule is to avoid that the list marker overlaps a float.
> The
> correct way to tackle this would be to make the list marker itself a
> float,
> but thats rather expensive.
>
> No other browser appears to do this though.
>
> euhm, I think there was another problem, because we investigated this
> issue
> already for www.w3.org/Style/CSS and did not drop the rule for some
> reason.
> Lars, do you still remember?
>
>
> --
>> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for
>> FREE! <
> _______________________________________________
> Khtml-devel at mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel
More information about the Khtml-devel
mailing list