2008/11/27 tee <[EMAIL PROTECTED]>:
> 2) I have a column that is 160px wide, but the text in legend is a bit
> longer, I added a span class, declared a width, but in Firefox, the text
> still refuse to run in two lines - the rest of the text simply get cut off
> when the words reaches 160px threshold. I really don't want to add a <br />,
> and it will be more ridiculous to use a p tag for the text so that I can
> force it display exactly the way my client wanted, then use a negative
> text-indent to hide the legend.

I can't be 100% sure on this, since I haven't played around much with
it, but one thing sprang out at me. I didn't think you could declare a
width on an inline element like a span unless you also set its display
to block. Could that be the problem here? If adding display:block to
your span works, then it is indeed a case of Firefox doing the right
thing an dthe others not. ;)

Cheers,

Seona.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to