background: url("javascript: ...), you can now put javascript right within your IE to recognize :hover elements. Rather, I think this could fix a great deal of positioning problems, width/height problems, and a bunch more stuff that I'm not even thinking of.
I'm going to have to noodle this one over some more. I'll defintely be playing around with it.
Tagged As CSS, Javascript
Comments are Open (3)
Posted at 07:33 AM
Comments
snigel
Just when I thought I had seen everything using expression() in CSS. That's one of the coolest CSS hacks I've seen in a long time.
$500 for the person that comes up with a CSS hack that uninstalls IE on your computer, and installes Firebird. That should fix the :hover problem in IE.
Posted by: snigel | January 13, 2004 09:19 AM
rob
using expressions with "this.something" you can fake attribute selectors too. pretty cool. course, jury's out on if you want to be using such extreme IE-specific hacks, but that's another conversation altogether.
Posted by: rob | January 13, 2004 03:05 PM
Tony
The thing that I keep coming back to with this is height and width. I could just declare the id in CSS, and then use the DOM to get the proper width and size. And once I have the master DIV sizes, just use percentages for the interior stuff.
I just love the fact that I can put javascript in my css if needed.
Posted by: Tony | January 13, 2004 03:17 PM