* HTML IE Hack
Ok, so after trying not to bash in my screen in dealing with Internet Explorer and it's CSS issues, I noticed this " * html " thing that people were using in their CSS to make IE do stuff. I've come to the conclusion that if IE is acting up, just use this to make it do what you want it to do.
width: 150px;
height: 150px;
background-color:#FF0000;
border:1px solid #000000;
}
In "THEORY" This should look like this in all browsers:
All and well, IF you want it to look different in IE ONLY, add the "* html" and then declair your item.
Example CSS:width: 150px;
height: 150px;
background-color:#FF0000;
border:1px solid #000000;
}
* html .boxMe{ width:50px; height: 50px; }
Internet Explorer will then take that box and render it 50x50.
All other browsers will do as they were orginally told.
For more indepth detail about this, check out: www.positioniseverything.net