The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Width of columns differs in IE, Firefox and Opera.

I use a three column layout with a header- and footer-section. When the screen width is less then 1024px some different styles are loaded (the text size of the menu is smaller and some more).
Everything works fine only the width of the left and right column differs in IE, Firefox and Opera!?
I canít find a way to give the columns an equal width in all browsers! Can anyone spot my problem and maybe a solution?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Test01</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="default01.css" rel="stylesheet" type="text/css" /><!--if people have javascript deactivated the standard style will be used--><script language="javascript">
if ((screen.width<1024)){
alert("Nein");
document.write ("<link href='default01_800.css' rel='stylesheet' type='text/css'>");
}
</script><!--[if gte IE 5]><style type="text/css">
body {width:expression( documentElement.clientWidth < 770 ? (documentElement.clientWidth == 0 ? (body.clientWidth < 770 ? "770" : "auto") : "779px") : "auto" );}
#wrap {width:expression( documentElement.clientWidth > 1024 ? (documentElement.clientWidth == 0 ? (body.clientWidth >1024 ? "1024" : "auto") : "1024px") : "auto" );}
</style><![endif]--></head><body><div id="wrap"><div id="header"></div><div id="left"></div><div id="main"><div id="right"></div><div id="content"><div id="articel"><h1>Heading</h1><p><div id="img_left"><img src="pic01.jpg" width="220" height="165"></div><p>AMD's market share has been creeping up as its range of dual-processor chips outperformed Intel's products.</p><p>Despite those gains AMD still only sells a quarter of the desktop PC processors and a ninth of the laptop chips that Intel sells.</p><p>However, Kirk Skaugen, general manager of Intel's server platforms group, admitted that his company had lost some of its US market share to AMD over the past year.&nbsp;</p><p>Skaugen said that Intel's re-focus on high performance computing with the new Xeon products would help it win back that lost share.</p></p><p>AMD's market share has been creeping up as its range of dual-processor chips outperformed Intel's products.</p><p>Despite those gains AMD still only sells a quarter of the desktop PC processors and a ninth of the laptop chips that Intel sells.</p><p>However, Kirk Skaugen, general manager of Intel's server platforms group, admitted that his company had lost some of its US market share to AMD over the past year.&nbsp;</p><p>Skaugen said that Intel's re-focus on high performance computing with the new Xeon products would help it win back that lost share.</p><div id="img_left"><img src="pic02.jpg" width="220" height="165"></div><p>AMD's market share has been creeping up as its range of dual-processor chips outperformed Intel's products.</p><p>Despite those gains AMD still only sells a quarter of the desktop PC processors and a ninth of the laptop chips that Intel sells.</p><p>However, Kirk Skaugen, general manager of Intel's server platforms group, admitted that his company had lost some of its US market share to AMD over the past year.&nbsp;</p><p>Skaugen said that Intel's re-focus on high performance computing with the new Xeon products would help it win back that lost share.AMD's market share has been creeping up as its range of dual-processor chips outperformed Intel's products.</p><p>Despite those gains AMD still only sells a quarter of the desktop PC processors and a ninth of the laptop chips that Intel sells.</p><p>However, Kirk Skaugen, general manager of Intel's server platforms group, admitted that his company had lost some of its US market share to AMD over the past year.&nbsp;</p><p>Skaugen said that Intel's re-focus on high performance computing with the new Xeon products would help it win back that lost share.</p></div></div><div id="clearfooter"></div></div><div id="footer"><p>Footer Text<br />
Copyright</p></div></div></body></html>