Is it just me or does * html not work. I find that it doesn't work and I have to use *html (with no space). But it doesn't validate that way. Anyone else experience this, or is it just me?
thanks
| SitePoint Sponsor |
Is it just me or does * html not work. I find that it doesn't work and I have to use *html (with no space). But it doesn't validate that way. Anyone else experience this, or is it just me?
thanks




What are you using this for?
The only user agent which recognizes * html is Internet Explorer. IE thinks that there is some magical wrapper around html and thus * html actually means something to IE.
I am using it to specify css for only IE...
but like I said earlier,
if I put a space between * html it doesn't seem to work, but if I leave the space out *html...it seems to work...maybe I am confused. I try so many things sometimes that I do tend to get confused...so * html (with the space) works for you?




Yes, the "star html hack" as it's known works only when there is a space between the * and html.


Hi,
As far as my tests have shown star html works with a space and without a space (in ie6). However its only validates with a space and thats the way you should use itif I put a space between * html it doesn't seem to work, but if I leave the space out *html...it seems to work...maybe I am confused. I try so many things sometimes that I do tend to get confused...so * html (with the space) works for you?
I have found this hack to be the safest of all hacks and recommend it above others as it supplies ie the values it needs without bothering good browsers.Code:* html
If you have an instance where it doesn't work then its probably an error in your coding at some other stage. If you have an example then we can have a look see
Paul
Bookmarks