The right column with dom tabs -> In FF it all looks fine. But when I open it in IE the container div of the tabs gets a 1px margin from the left. Tried everything. Still comes up.. :/
The *html hack is ok for addressing IE issues, as long as you're not fussed about validating your css. I work for a company that insits we validate all stylesheets so we can't use *html.
Nifkin I should have checked before I made that statement, shouldn't i. :( It came from another developer . That will teach me for not actually checking myself. I don't use it, but thank-you for pointing out i was incorrect.
One may also use the 'child selector' hack, such as: html>body. This hack hides from IE 5/6 and lower, but has the advantage of being read by compliant browsers and the recent IE 7 (...which is still beta) and it validates. Just be sure there is no whitespace before or after the child selector. It is a sort of reverse hack in that you set the initial declarations for non-compliance, then set the compliant declarations under the child selector. As subsequent versions of IE become more compliant, one does not have to return to the code to eliminate the hack as it is valid. This, and many other nifty codings, can be found in Andy Budd's book 'CSS Mastery', which is one of my many 'bibles'.
I don't use it, but thank-you for pointing out i was incorrect.
I wasn't trying to be mean about it. :)
Once you said something about it I did start to wonder and had to go hit the validator to find out. Long story short, be careful which web-nerd's information you trust.
One place I always start with when I look at incompatibilities between browsers is the box model, because it's the root of alot of inconsistencies. If you never use the padding and width declarations on the same element, you'll have a very good start towards ie/firefox compatibility. I've run into a couple of occaisons where it was more trouble to do it that way, but most of the time you've got a parent element and series of children. If you apply your layout to the parent, and your spacing to the child, it will turn out good for you.