There are 2 ways:
1 -Like the way Kellie said to use IE conditionals. You can even use these conditionals to show some content based on the version of the IE browser. Here is an article from Microsoft:
http://msdn.microsoft.com/en-us/library/ms537512.aspx
2 - Use JavaScript to change the properties of the elements you have trouble with only if the browser is IE something like:
|
HTML Code:
|
<div id="header">
Some Code
</div>
<script type="text/javascript">
if (navigator.userAgent.indexOf('MSIE') != -1) {
document.getElementById('header').style.height = '55px';
}
</script> |
From my experience though, you always have ways to avoid using IE conditionals.
Personally I could always find ways around issues with differences in browsers even in complex designs...
I hope this makes sense