472,805 Members | 860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

IE6 adding large margin - why???

Hello,

IE6 is adding a large margin between my two containers (container1 & container2) everything works fine in IE7 and Firefox. I've been searching on-line for a fix but I've had no luck. It would make my day if someone could help me with this.

website- http://www.00dogtraining.com/

Thanks for any help,
Dave

css code:
@charset "utf-8";
/* CSS Document for 00 Dog Traing */

body{
text-align:center;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color:#666666;
line-height: 135%;
margin:0;
}

#Bgblue {
background-image:url(bg_blue_gradiant.gif);
background-repeat:repeat-x;
width:100%;
height:280px;
margin:0px;

}

#topleft {
float:left;
width:130px;
height:281px;
margin:0;
}
#topmiddle {
float:left;
display:inline;
width:575px;
height:281px;
background-image:url(bg_top_middle.gif);
margin:0px;
}




#topright {
float:left;
width:130px;
height:281px;
margin:0px;
}

#container{
width:835px;
height:280px;
margin-left:auto;
margin-right:auto;
text-align:left;
margin-bottom:0px;


}

#container2{
width:835px;
margin-left:auto;
margin-right:auto;
text-align:left;
margin-top:0px;

}

#container3{
width:835px;
margin-left:auto;
margin-right:auto;
text-align:left;

}


p {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color:#666666;
text-align:left;
padding-left:42px;
padding-right:20px;
line-height: 135%;
margin:0;

}


#left{
width:130px;
margin:0;
float:left;

}

#middle{
width:575px;
float:left;
display:inline;
background-image:url(bg_middle.gif);
background-repeat:repeat-y;
margin:0;
}

#right{
width:130px;
float:left;
margin:0;
}
#bgfooter {
background-image:url(bg_footer.gif);
background-repeat:repeat-x;
width:100%;
height:81px;
margin-bottom:0px;

}
#footer{
clear:both;

}

#middle ul {
padding-left:85px;
}

h1 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:600;
color:#45aedb;
text-align:left;
padding-left:30px;
margin-top:15px;
margin-bottom:8px;
}

h2 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
color:#45aedb;
text-align:left;
padding-left:35px;
margin-top:22px;
margin-bottom:8px;
}
.mainimage {
padding-top:23px;
padding-left:20px;
}



/*------------------- main navagation --------------------*/




th {
text-align:right;
width:55px;
height:25px;
padding-left:28px;
}
table {
margin-left:5px;
margin-top:34px;

}
a {
font-size:10px;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#000000;
text-decoration:none;
line-height: 110%;
}

a:hover {
color:#45aedb;
text-decoration:none;

}
.navup {
text-decoration:none;
color:#45aedb;
}

/*------------------- end main navagation --------------------*/
Mar 11 '08 #1
1 2185
AricC
1,892 Expert 1GB
I didn't try this but in your body tag change margin: 0; to margin: 0px 0px 0px 0px; not sure if that will help your problem but then you can set your margins individually.
Mar 11 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

23
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
1
by: Robin Tucker | last post by:
I would like to add the following HTML for display in the web browser control. I would like to do this without having to read a file ("navigate") but rather by setting HTML directly in the...
3
by: Toe Dipper | last post by:
In short we have a lengthy process when a form is loaded that adds activex controls to our windows form. This process in itself works fine however we would like to push this processing to a thread...
8
by: Joe | last post by:
Hi trying to write some code to determine if user has large/small fonts set on PC thought this would work but it didn't Any suggestions??? Thanks Graphics g = Graphics.FromHwnd(this.Handle);
9
by: Troy Piggins | last post by:
If I use the code: ----- <div style="text-align: center;"> <a href="photos.php?img=xx1.jpg"> <img src="xx1.jpg" style="padding: 10px;" /> </a> <a href="photos.php?img=xx2.jpg">
2
by: moondaddy | last post by:
I'm trying to do something real simple. Add a thumb to a grid at the end of a line using c#. the code executes but I dont see the thumb. Can anyone explain what and what I need to do to properly...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
4
by: Sheri Orloff | last post by:
After using a 3-column template from Ben Meadowcroft which I like the looks of, I need to add an element but don't know how to do it. On the right side of the page...
1
by: swc76801 | last post by:
I desperately need help. My understanding of CSS is non-existent. I have a store http://astore.amazon.com/texasheat-20 with Amazon.com. According to the information from Amazon.com "Write your own...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.