Hello,
I've done a lot of helping and critiquing of your websites, and now I need some help on one of mine.
As you can see, in all IE browsers (pictured is IE 5.23 for Macs, but it occurs in IE6 as well) there are mysterious gaps in the background. I used CSS tables to construct the site and it works in standards compliant browsers such as Firefox and Safari (no gaps).
Basically, the way it is constructed is three CSS tables, and each table is divided into three horizontal boxes. A background image is applied to each cell and is set to repeat-x so that the image scales with the rounded box. To make the footer, I used a .clearfix:after from Position is Everything. Now I need to find the problem and the fix for the gaps. Do you know what the IE fix is for it?
My CSS code:
Thank you for any help you can offer. I can post the actual web page if needed.
I've done a lot of helping and critiquing of your websites, and now I need some help on one of mine.
As you can see, in all IE browsers (pictured is IE 5.23 for Macs, but it occurs in IE6 as well) there are mysterious gaps in the background. I used CSS tables to construct the site and it works in standards compliant browsers such as Firefox and Safari (no gaps).
Basically, the way it is constructed is three CSS tables, and each table is divided into three horizontal boxes. A background image is applied to each cell and is set to repeat-x so that the image scales with the rounded box. To make the footer, I used a .clearfix:after from Position is Everything. Now I need to find the problem and the fix for the gaps. Do you know what the IE fix is for it?
My CSS code:
| Code: |
|
.colcont_head { position: relative; top: 20px; width: 100%; height:75px ; min-width: 600px; max-width: 1000px; } .colboxleft_head { background-image: url(images/top-left.jpg); background-repeat: no-repeat; width:30px; height: 75px; float:left } .colboxright_head { background-image: url(images/top-right.jpg); background-repeat: no-repeat; width:35px; height: 75px; float:right; } .colboxmiddle_head { background-image: url(images/top.jpg); background-repeat: repeat-x; width:auto; margin-left:30px; margin-right:35px; } .colcont_footer { width: 100%; height:35px; min-width: 600px; max-width: 1000px; } .colboxleft_footer { background-image: url(images/bottom-left.jpg); background-repeat: no-repeat; width:30px; height:35px; float:left } .colboxright_footer { background-image: url(images/bottom-right.jpg); background-repeat: no-repeat; width:35px; height:35px; float:right } .colboxmiddle_footer { background-image: url(images/bottom.jpg); background-repeat: repeat-x; width:auto; height:35px; margin-left:30px; margin-right:35px } .twocolcont_header { width:100%; min-width: 600px; max-width: 1000px; padding: 10px; } .twocolboxl_header { width:50%; float:left; } .twocolboxr_header { margin-left:50%; width:auto; } .colcont_main { width: 100%; overflow: hidden; min-width: 600px; max-width: 1000px; } .colboxleft_main { background-image: url(images/leftside.gif); background-repeat: repeat-y; width:205px; height: 100%; float:left ; /* hide from IE mac \*/ margin-bottom: -9999px; padding-bottom: 9999px; /* end hiding from IE5 mac */ } .colboxright_main { background-image: url(images/rightside.gif); background-repeat: repeat-y; width:210px; height: 100%; float:right; /* hide from IE mac \*/ margin-bottom: -9999px; padding-bottom: 9999px; /* end hiding from IE5 mac */ } .colboxmiddle_middle { width:auto; height: 100%; margin-left:210px; margin-right:205px; /* hide from IE mac \*/ margin-bottom: -9999px; /* end hiding from IE5 mac */ padding-right: 10px; /* hide from IE mac \*/ padding-bottom: 9999px; /* end hiding from IE5 mac */ padding-left: 10px; } .navcont_nav links { height: 30px; padding: 5px; } .navbox_nav links { } #breadcrumb { bottom: 5px; position: relative; visibility: visible; } #layer1 { bottom: 5px; position: relative; visibility: visible; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } @media all and (min-width: 0px) { .colboxleft_main, .colboxright_main, .colboxmiddle_middle { padding-bottom: 0; margin-bottom: 0; } .colboxleft_main:after, .colboxright_main:after, .colboxmiddle_middle:after { content: ''; display: block; background: inherit; padding-top: 9999px; margin-bottom: -9999px; height: 0; } } |
Thank you for any help you can offer. I can post the actual web page if needed.
