<marquee>

David Hyatt hyatt at apple.com
Fri Oct 24 16:19:20 CEST 2003


Does marquee automatically size only to the height of one line if 
height is not specified?

dave

On Oct 24, 2003, at 2:25 PM, Dirk Mueller wrote:

> Hi,
>
> while we don't support all the scrolling fun of <marquee>, we should 
> at least
> show the text. some pages contain important information in this tag 
> (like
> ebay articles).
>
> The old problem, why the display: none hack was committed, is that 
> <marquee>
> never produces more than one line of text, and if the text was wrapped 
> into
> multiline, it destroyed the layout of some pages (which used <marquee> 
> in
> very small table rows).
>
> This is not fully correct though, since there is no way to reference 
> the
> actual line height. it might be able to improve it by adding
>
> marquee:first-line { visibility: show; }
> marquee { visibility: hidden; }
>
> but that doesn't seem to work in our tree.
>
> marquee {
>         display: block;
>         height: 1.2em;
>         position: relative;
>         overflow:hidden;
> }
>
>
> comments, better ideas?
>
>
> -- 
>> 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