Quote:
It works fine in IE, but not in the mozilla breed of browsers.
No, it works fine (in the technical sense of working according to
specifications) on Mozilla and also on IE in "standards" mode. |
Nope in IE7 in standard mode it "works" in that it honours the width.
Quote:
I've
read quite a few threads about this and understand that the problem is
the width property only applies to block elements. Not to inline
elements like span. In this sense IE is wrong.
So if you knew that, why did you write roughly the opposite first? |
I said it worked in the sense it honoured the width attribute, as you
already very well know.
Quote:
But what are you trying to accomplish? If you just want 400px empty space to
the left of "Hello", as happens on IE in "quirks" mode, why don't you simply
e.g. wrap "Hello" inside an element and set padding-left: 400px for it? |
I'm trying to have placeholders before and after some text, which a
user can customize by only modifying css. Padding is only one use for
it they, may also want different colours or different background
images, or nothing at all on either side of the text...