Question : Format Issues with DIV and CSS in IE

I have a problem with CSS and IE7/8 and DIV statements on a website I am developing. It is to do with the web header where on Chrome (and Safari, etc) the web page header renders OK, but on IE7/8 the page header is way too high - see attached screen images.

I figure it has got something to do with DIVs (and relative positioning), but I'm not sure how to correct the problem.

I have attached the CSS file and HTML generated by the ASP server-sided script for information.

ANy help is appreciated.
Attachments:
 
Chrome showing correct rendering
Chrome showing correct rendering
 
 
IE8 with wrong rendering
IE8 with wrong rendering
 
 
CSS file for web pages
 
 
HTML Source for webpage
 

Answer : Format Issues with DIV and CSS in IE

Try this:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
//normal javascript
if(navigator.appName == "Microsoft Internet Explorer" && substr(navigator.appVersion, 0, 3) == '4.0'){
    alert('IE8');
}else{
    alert('not IE8');
}

//With jQuery
if($browser.msie && $browser.version == '8.0'){
    alert('IE8');
}else{
    alert('not IE8');
}
Random Solutions  
 
programming4us programming4us