473,395 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 2223
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.