|
Posted by Els on 07/14/07 00:01
In article
<doraymeRidThis-1AD6E7.08590814072007@news-vip.optusnet.com.au>,
dorayme <doraymeRidThis@optusnet.com.au> wrote:
> The source at
>
> <http://members.optushome.com.au/droovies/test/iCabCuriousity/iCab
> Curiosity.html>
>
> has the effect on iCab/Safari of
>
> <http://members.optushome.com.au/droovies/test/iCabCuriousity/iCab
> Curiosity.png>
>
> This is an interesting curiosity indeed. Basically, it becomes a
> mess but one can see in the phenomena that the lines are wrapping
> over themselves! The sentence in the source code of the first of
> the two urls above can be reduced in iCab to very small sizes
> indeed and stretched in browser over a very large desktop to give
> the perfect 'strike thru' effect. But when the browser is reduced
> to induce wrapping, you get text that wraps over itself.
> Enlarging the text just makes a bigger blacker mess and brings it
> on earlier.
At least it's consistent then - only got 1px of space, so let's just all
pile up :-)
> Surely this one needs a place in a browser phenomena museum.
I just had to test this some more, so I downloaded iCab: it appears the
line-height of the text is taken from the height of the parent. If i set
the height of the div to 20px, only the first line disappears against
the black background, while the next lines neatly wrap below it. If I
choose a 5px height, the text starts wrapping over itself already.
Setting an explicit line-height doesn't help though...
--
Els http://locusmeus.com/
Navigation:
[Reply to this message]
|