homepage Welcome to WebmasterWorld Guest from 54.145.183.190
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
IE Background image showing through
brnm98105

5+ Year Member



 
Msg#: 3982038 posted 3:24 pm on Sep 1, 2009 (gmt 0)

Hi, I was hoping onsome help here. I have a page with that works fine in Firefox however IE my background image is showing through. The only erroe i get when checking it is at line 41 "Unsupported Min Height" Error. Any help would be greatly appreciated

body {
margin: 0;
padding: 0;
font-size: 10px;
font-family:Verdana, Arial, Helvetica, sans-serif;
line-height: 1.8em;
background-color: #fff;
background-image: url(../images/scentsy-bg.png);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: center;
}
a {
color:#000000;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration:underline;
}
a.nobackground:hover { background: transparent; }

/*--Global Property--------------------------------------------*/

*{margin: 0; padding: 0;}
h1, h2, h3 {
margin: 10px 0;
padding: 10px 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: normal;
}
h1 {font-size: 3em;}
h2 {font-size: 2.5em;}
h3 {font-size: 2em;}
p {margin: 5px 0; padding: 5px 0;}

/*--Layout Property--------------------------------------------*/

#main {
height: 100%;
min-height: 724px;
position: relative;
overflow: hidden;
background-image: url(../images/stretch.gif);
background-repeat: repeat-y;
}

*html #main { height: 724px; overflow: visible;}
.container {
margin: 0 auto;
width: 970px;
font-size: 12px;
}

/*--Header Property---------------*/
#header {
width: 970px;
float: left;
height: 120px;
position: absolute;
top: 0px;
left: 0px;
background-color: #FFFFFF;
background-image: url(../images/scentsy-title1.gif);
background-repeat: repeat-y;
padding-bottom: 20px;
padding-top: 30px;
visibility: visible;
}
#header h2 {
padding-top: 40px;
padding-right: 20px;
padding-left: 20px;
}
#header h3 {
padding-top: 10px;
padding-right: 20px;
padding-left: 20px;
}
#header ul {
width:100%;
list-style:none;
padding:0;
margin-top: 10px;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
float: left;
clear: left;
font-size: 12px;
border-bottom-width: thick;
border-bottom-style: solid;
border-top-color: #000000;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
}
#header ul li {
display:inline;
list-style:none;
margin:0;
padding:0;
}
#header ul li a {
display:block;
float:left;
margin:0 0 0 1px;
padding:1px 10px;
text-align:center;
color:#FFFFFF;
text-decoration:none;
position:relative;
left:15px;
line-height:1.3em;
background-color: #663366;
font-weight: bold;
}
#header ul li a:hover {
color:#000000;
background-color: #E1CAE1;
font-weight: bold;
}
#header ul li a.active,
#header ul li a.active:hover {
color:#fff;
background:#000;
font-weight:bold;
}
#header ul li a span {
display:block;
}
#layoutdims {
clear:both;
margin:0;
text-align:center;
background-color: #E1CAE1;
font-size: 16px;
font-weight: bold;
font-style: italic;
color: #000000;
border-bottom-width: thick;
border-bottom-style: solid;
border-bottom-color: #000000;
padding-top: 15px;
padding-right: 15px;
padding-bottom: 15px;
padding-left: 15px;
}
/*--Side Col Property---------------*/
#sidecol {
float: left;
width: 160px;
position: absolute;
top: 192px;
left: 0px;
padding-top: 79px;
padding-left: 10px;
text-align: center;
background-color:transparent;
visibility: visible;
}
#sidecol h2 {
margin: 0;
overflow: hidden;
display: block;
clear: both;
font-weight: bold;
font-size: 16px;
color: #000000;
}
#sidecol ul {
list-style: none;
margin: 0;
padding: 0;
}
#sidecol ul li {
display: block;
margin: 0;
padding: 0;
}
#sidecol ul li a{
display: block;
width: 225px;
padding: 7px 0 7px 10px;
text-decoration: none;
color: #222;
background: #E1CAE1 url(../images/sidecol_a.gif) no-repeat right top;
border-bottom: 1px solid #ccc;
border-top: 1px solid #eee;
}
#sidecol ul li :hover {
background: #fff;
}
/*--Side Col Property---------------*/
#sidecolrt {
float: left;
width: 160px;
position: absolute;
top: 194px;
left: 792px;
padding-top: 79px;
padding-left: 10px;
text-align: center;
background-color:transparent;
visibility: visible;
}
#sidecolrt h2 {
margin: 0;
overflow: hidden;
display: block;
clear: both;
font-weight: bold;
font-size: 16px;
color: #000000;
}
#sidecolrt ul {
list-style: none;
margin: 0;
padding: 0;
}
#sidecortl ul li {
display: block;
margin: 0;
padding: 0;
}
#sidecolrt ul li a {
display: block;
width: 225px;
padding: 7px 0 7px 10px;
text-decoration: none;
color: #222;
background: #E1CAE1 url(../images/sidecol_a.gif) no-repeat right top;
border-bottom: 1px solid #ccc;
border-top: 1px solid #eee;
}
#sidecolrt ul li :hover {
background: #fff;
}
/*--Content Property---------------*/
#content {
float: right;
width: 575px;
background-color: #FFFFFF;
margin-top: 230px;
margin-right: 176px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 40px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
border-left-width: thin;
border-left-style: dashed;
border-left-color: #000000;
border-right-width: thin;
border-right-style: dashed;
border-right-color: #000000;
display: inline;
}
/*--Footer Property---------------*/
#footer {
background: url(../images/footer.gif) no-repeat;
float: left;
height: 56px;
line-height: 56px;
width: 100%;
text-align: center;
color: #fff;
}

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved