I have a div that isn't lining up correctly in Chrome, IE and FF. Chrome needs a padding-left:40px; while IE and FF do not. I've been playing with if for a few hours and I know I'm missing something simple. This is what I've been trying:
<!--[if !IE]>--> <link href="non-ie.css" rel="stylesheet" type="text/css"> <!--<![endif]--> I've also tried in the normal style.css:
<!--[if !IE]--> #lower .expo {padding-left:40px;} <!-- <![endif]--> or #lower .expo {width:400px; padding-top:40px; float:left;}
I also tried this:
#lower .expo {width:400px; padding-left:40px; padding-top:40px; float:left;} <!--[if gt IE 6]> #lower .expo {width:400px; padding-top:40px; float:left;} <!-- <![endif]--> Interestingly if I do this:
<!--[if gt IE 6]> #lower .expo {width:400px; padding-top:40px; float:left;} <![endif]--> #lower .expo {width:400px; padding-left:40px; padding-top:40px; float:left;} IE displays correct but not FF or Chrome. Its driving me crazy. I must be missing something simple but I've been looking at it too long.