Re: Scrolling text
| From: | Robert Cummings | Date: | Mon, 13 Nov 2006 20:00:14 +0000 |
| Subject: | Re: Scrolling text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244566@lists.php.net to get a copy of this message | ||
On Mon, 2006-11-13 at 20:22 +0100, Alain Roger wrote:
> Hi,
>
> I would like to have a scrolling text (as banner) on our website.
> I tried Marquee which work very well but since i use a table and allocate
> 100% to marquee, if the content of a row (<tr> content) is greater than 100%
> or the <table> width, internet explorer automatically write the message on
> several lines (not several <tr>).
>
> e.g :
>
> sentence to display : "this is a very long sentence about the way how works
> internet explorer with marquee"
>
> way how is it displays under IE :
> "this is a very long sentence about the way
> how works internet explorer with marquee"
>
> under opera and firefow, it's well displayed as "this is a very long
> sentence about the way how works internet explorer with marquee"
>
> so, i would like to know if there is another way how to do a scrolling text
> without using flash, shockwave or other tool...only in php or HTML (in worse
> case).
>
> thanks a lot,
This works really well without the annoyance:
<div style="overflow: scroll; white-space: nowrap;">
this is a very long sentence about the way how works internet explorer
with marquee
</div>
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'