|
Posted by Ben C on 05/05/07 08:31
On 2007-05-05, Joel Shepherd <joelshep@ix.netcom.com> wrote:
> In article <slrnf3ncv3.j2o.spamspam@bowser.marioworld>,
> Ben C <spamspam@spam.eggs> wrote:
>
>> 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)
>> >
>> > 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.
>
> Or, alternatively, use one image with five stars, one image with 4
> stars, etc. If you use "*" as alt text, you might still want to use the
> CSS hint, but the image itself won't be wrapped across lines.
You might end up with
Spiderman 3
* * * * *
in that case.
[Back to original message]
|