Posted by Ben C on 05/04/07 22:32
On 2007-05-04, ffreino@gmail.com <ffreino@gmail.com> wrote:
> Hi,
> This is a tricky problem (at least for me) I would like to print a
> movie title and then its score using stars (img tags)
>
> For example ( where * stands for <img src='...'> ) :
>
> Spiderman 3 * * * * *
> The Shining * * *
>
> The problem arise when there is no width enough to print the whole
> line, so it prints:
>
> Spiderman 3 * * *
> * *
> The Shining * * *
>
> How can I keep several images in the same line?
Just set style="whitespace: no-wrap" on the container.
Navigation:
[Reply to this message]
|