paulman888888 Posted March 18, 2009 Share Posted March 18, 2009 When in Firefox everything looks good and how it should, but when in IE it looks weird and things get moved. Its the same code but why is it different in IE? Please can you have a look The site it http://listed.freehostia.com/ if you want to view it. Below is the code to the page template (HTML only) i have removed PHP code and replace the content of the body with example text to save space. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Listed - </title><link href="style.css" rel="stylesheet" type="text/css" /><!--[if IE]><style>#head_container ul{margin-top: 56px;}#content_container{float: left;}</style><![endif]--></head><body><div id="top"><div id="head_container"><ul><li><a href="?page=Home">Home</a></li><li><a href="http://listed.freehostia.com/?page=My_Account">My Account</a></li><li><a href="http://listed.freehostia.com/?page=Logout">Logout</a></li></ul><a href="index.php" id="logo">Listed - </a><br /></div></div><div id="wrapper"><div id="main_container"><div id="menu_container"><div class="content"><h1> Main Menu</h1><ul> <li><a href="http://listed.freehostia.com/?page=Home">Home</a></li> <li><a href= "http://listed.freehostia.com/?page=View_Topics">Topics</a></li> <li><a href= "http://listed.freehostia.com/?page=Stats">Stats</a></li> <li><a href="http://listed.freehostia.com/?page=Chat">Chat</a></li> </ul> </div><div class="content"><h1> Members Menu</h1><ul><li><a href="?page=My_Account">My Account</a></li><li><a href="http://listed.freehostia.com/?page=Add_Topic">Add Topic</a></li><li><a href="http://listed.freehostia.com/?page=LogOut">Log Out</a></li></ul></div></div><div id="content_container"><div class="content">Example body data</div></div><div id="clear"></div></div></div><div id="footer">Copyright © PHP9<br />You are Logged In as Paul</div></body></html> Quote Link to comment https://forums.phpfreaks.com/topic/150015-error-in-different-browser/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.