Re: span tag with width style attribute doesn't work in Firefox
by "Jukka K. Korpela" <jkorpela@[EMAIL PROTECTED]
>
Dec 10, 2005 at 11:06 PM
Frank Rizzo <none@[EMAIL PROTECTED]
> wrote:
> I have the following code.
> <span style="width:100px;background-color:Red;">text</span>
> <span style="width:100px;background-color:Green;">test</span>
> <span style="width:100px;background-color:Blue;">test</span>
It's very poor code. It's actually completely wrong. Besides, your
question
is about CSS, not about HTML tags.
> In IE, it displays just like I intended:
IE misbehaves as usual.
> Firefox ignores the 'width' attribute.
That's correct.
Try googling for "CSS FAQ". Try posting to the right group if problems
remain, and don't forget to include a URL and to explain what you are
really
trying to achieve.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html