NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Mysterious Margin-Right in Internet Explorer

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-27-2006, 06:15 PM THREAD STARTER               #1 (permalink)
Senior Member
 
Epic's Avatar
Join Date: Sep 2005
Posts: 3,779
Epic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond reputeEpic has a reputation beyond repute
 



Mysterious Margin-Right in Internet Explorer


I'm working on a site and I'm having some issues with a bug in Internet Explorer.

Here's the site:
http://www.360.ms

Everything looks fine in Firefox, but on the right side in Internet Explorer, there's a gap of 2px between the side of the container and the sidebar.

Here's my CSS:

Code:
body {
	margin: 0px;
	background-color: #383838;
	font-size: 11px;
	font-family: Verdana;
	text-align: center;
}
#all {
	text-align: center;
	width: 780px;
	margin-left: auto;
	margin-right: auto;
}
#container {
	width: 780px;
	text-align: left;
	background-color: #f1f1f1;
	border-left: 1px solid #222;
	border-right: 1px solid #222;
	border-bottom: 1px solid #222;
	margin-left: auto;
	margin-right: auto;
	float: left;
}
#menu {
	background-image: url(menu-back.jpg);
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	border-top: 1px solid #111;
	border-bottom: 1px solid #111;
	width: 780px;
}
#menu a {
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #ccc;
	background-image: url(menu-back.jpg);
	padding-left: 20px;
	padding-right: 20px;
	text-decoration: none;
}
#menu a:hover {
	background-image: url(menu-hover.jpg);
}
#sidebar {
	float: left;
	width: 180px;
	border-right: 1px solid #333;
	background-color: #555;
	color: #f4f4f4;
	margin: none;
	padding: none;
}
#sidebar h1 {
	font-size: 11px;
	color: #222;
	margin: 0px;
	text-align: center;
	background-image: url(head1.jpg);
	padding-top: 4px;
	padding-bottom: 4px;
}
#content {
	float: left;
	padding-left: 5px;
	width: 407px;
	padding-right: 5px;
}
#sidebar2 {
	float: right;
	width: 180px;
	border-left: 1px solid #333;
	background-color: #555;
	color: #f4f4f4;
	margin: none;
	padding: none;
}
#sidebar2 h1 {
	font-size: 11px;
	color: #222;
	margin: 0px;
	text-align: center;
	background-image: url(head1.jpg);
	padding-top: 4px;
	padding-bottom: 4px;
}
There's a few, not-so-efficient ways of doing things in my code, so don't laugh at me
????: NamePros.com http://www.namepros.com/programming/201792-mysterious-margin-right-in-internet-explorer.html

Thanks for the help
Last edited by CriminalOrigins; 05-27-2006 at 06:18 PM.
Epic is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 10:28 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger