/    Sign up×
Community /Pin to ProfileBookmark

IE and Firefox displaying differently, yeh you heard me :)

well my problem is that internet explorer shifts my content about 100px too far to the right…
Ive validated the content so thats not the problem. Ive also spent hours tweaking the code but to no avail.

Hopefully one of you can help me. You can check the site here: [url]http://enemyterritorys.the-ggn.com/index4.php[/url]

and for you lazy ppl heres the code ?

[CODE]<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>QWCenter.com – The Quake Wars Community.</title>
<style type=”text/css”>
<!–
body {
background-color: #D7D5D6;
background-image: url(images/bg.jpg);
background-repeat: repeat-y;
background-position: 86px 0px;
margin: 0;
padding: 0;
}

#mainright {
width:175px;
float:left;
padding-bottom:10px;
margin: 0px 0px 0px 16px;
}

#maincenter {
width:416px;
float:left;
padding-bottom:10px;
margin: 0px 0px 0px 18px;
}

#mainleft {
width:175px;
float:left;
padding-bottom:10px;
margin-left: 90px;
}

#titlebarcont {
width: 980px;
}

#titlebartop {
width: 980px;
}

#titlebarmid {
width: 980px;
}

#titlebarbot {
width: 980px;
}

#contentcont {
position: absolute;
width: 800px;
margin: 0px 0px;
}

#footer2 {
margin-left: -100px;
position: absolute;
width: 600px;
background-color: #DCDADB;
border-style: solid;
border-width: 1px;
border-bottom-width: 0px;
border-color: #939192;
}

#leftnav {
background-image: url(images/linkbg.jpg);
background-repeat: repeat-y;
position: relative;
margin-left: -3px;
width: 175px;
}

#ads {
position: relative;
margin-left: 0px;
width: 175px;
}

#rightnav {
position: relative;
margin-left: 3px;
width: 175px;
}

#links1 {
position: relative;
margin-left: 0px;
width: 130px;
margin-left: 40px;
}

#links2 {
position: relative;
margin-left: 0px;
width: 130px;
margin-left: 40px;
}

#links3 {
position: relative;
margin-left: 0px;
width: 130px;
margin-left: 40px;
}

body,td,th {
font-family: Arial, Helvetica, sans-serif;
color: #000000;
font-size: 12px;
}

a:link {
color: #000000;
text-decoration: underline;
}

a:visited {
text-decoration: underline;
color: #000000;
}

a:hover {
text-decoration: none;
color: #3E708B;
}

a:active {
text-decoration: underline;
color: #3E708B;
}

a {
font-family: Arial, Helvetica, sans-serif;
}

.style9 {font-size: 10px}
.style10 {font-size: 10; }
.style11 {font-size: 12px}
–>
</style>
</head>

<body>
<div id=”titlebarcont”>
<div id=”titlebartop”><img src=”images/etqw_01.jpg” alt=”top” width=”980″ height=”10″ /></div>
<div id=”titlebarmid”><img src=”images/etqw_02.jpg” alt=”left” /><a href=”index.php”><img src=”images/etqw_03.jpg” alt=”main” border=”0″ /></a><a href=”register.php”><img src=”images/etqw_04.jpg” alt=”register” border=”0″ /></a><img src=”images/etqw_05.jpg” alt=”main title” /><a href=”contact.php”><img src=”images/etqw_06.jpg” alt=”contact” border=”0″ /></a><a href=”forums/”><img src=”images/etqw_07.jpg” alt=”forums” border=”0″ /></a><img src=”images/etqw_08.jpg” alt=”right” /></div>
<div id=”titlebarbot”><img src=”images/etqw_09.jpg” alt=”botleft” /><img src=”images/etqw_10.jpg” alt=”botmidleft” /><img src=”images/etqw_11.jpg” alt=”botmidright” /><a href=”http://www.the-ggn.com”><img src=”images/etqw_12.jpg” alt=”botright” border=”0″ /></a></div>
</div>

<div id=”mainleft”>
<div id=”leftnav”><img src=”images/menu.jpg” alt=”main” width=”153″ height=”24″/>
<div id=”links1″>
<a href=”#”>Main</a><br />
<a href=”#”>About</a><br />
<a href=”#”>Game Info </a><br />
<a href=”#”>Vehicles</a><br />
<a href=”#”>Classes</a><br />
<a href=”#”>Equipment</a><br />
<a href=”#”>Game Modes </a><br />
<a href=”#”>Weapons</a><br />
<a href=”#”>System Req’s </a></div>
<img src=”images/downloads.jpg” alt=”downloads” />
<div id=”links2″> <a href=”downloads/maps.php”>Maps</a><br />
<a href=”downloads/mods.php”>Mods</a><br />
<a href=”downloads/movies.php”>Movies</a><br />
<a href=”downloads/patches.php”>Patches</a><br />
<a href=”submit.php”>Submit</a></div>
<img src=”images/interactive.jpg” alt=”interactive” />
<div id=”links3″><a href=”forums/”>Forums</a><br />
<a href=”submit.php”>Submit</a><br />
<a href=”contact.php”>Contact</a><br />
<a href=”irc://irc.gamesurge.net/qwcenter”>IRC</a><br />
<a href=”linkus.php”>Link to us</a><br />
<a href=”advertise.php”>Advertise</a></div>
<img src=”images/adverts.jpg” alt=”advertisments” width=”152″ height=”32″ />
</div>
<div id=”ads”>
<div align=”center”>
<script type=”text/javascript”><!–
google_ad_client = “pub-9930121214224835”;
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = “120x600_as”;
google_ad_type = “text”;
google_ad_channel =””;
google_color_border = “E6E4E5”;
google_color_bg = “E6E4E5”;
google_color_link = “000000”;
google_color_url = “000000”;
google_color_text = “333333”;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div>
</div>
</div>
<div id=”maincenter”>
<div align=”center”>
<p><img src=”images/random/random.php” alt=”Random image” /><br />
<img src=”images/latest.jpg” alt=”latest news” /></p> </div>
<p><?php include_once(“/home/httpd/vhosts/the-ggn.com/subdomains/enemyterritorys/httpdocs/forum-news/news.php”);
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_News(“”, “2”, “0”, “0”); ?></p>
<p>&nbsp;</p>
<div id=”footer2″>
<div align=”center”>
<p>Website copyright &copy; 2005 – 2006 <a href=”http:www.qwcenter.com”>QWCenter.com</a> – All rights reserved. <br />
Reproduction or reprint of the material contained here without prior consent is prohibited.<br />
All trademarks are property of their respective owners. This site is part of the Global Gaming Network <a href=”http://www.the-ggn.com”>www.The-GGN.com </a></p>
</div>
</div>
</div>

<div id=”mainright”>
<div id=”rightnav”><div align=”right”><img src=”images/potd.jpg” alt=”potd” width=”145″ height=”27″ />
</div><div align=”center”><?php include_once(“/home/httpd/vhosts/the-ggn.com/subdomains/enemyterritorys/httpdocs/forum-news/news.php”);
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_News(“1”, “11”, “0”, “1”); ?>
</div></div>
</div>
</body>
</html>[/CODE]

Thanks
FAB ?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@BonRougeFeb 13.2006 — #mainleft {
display:inline;
}
Copy linkTweet thisAlerts:
@fab0990authorFeb 13.2006 — Nice one buddy, thanks very much
×

Success!

Help @fab0990 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...