CSS - Background-image im Firefox
Servus,
habe seit einigen std. ein problem mit meiner CSS datei.
bin dabei eine webseite zu erstellen und firefox zickt rum.
Im ie7 sieht alles in Orndung aus, nur im Firefox 3 habe ich folgendes problem (schaut euch das screenshot an)
ie-screenshot.jpg
firefox-screenshot.jpg
Im IE ist der weise bereich im Hintergrund durchgehent bis unten hin, der Firefox bricht aber diesen weissen bereich ab.
schaut euch auch meine css datei an...
---------------------------------------
---------------------------------------
---------------------------------------
Zitat:
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* body */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
body {
text-align: center;
margin: 0;
padding: 0;
min-height: 100px;
background: url('images/orange_background.png') repeat;
font-size: 68.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
color: #000000;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* body */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
#wrapper { height:100%;
width: 753px;
height:100%;
margin: 0 auto;
background: url('images/background_center.png') repeat-y;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* NAVIGATION-TOP */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
#nav-top{
text-align: right;
width: 720px;
margin-right: auto;
margin-left: auto;
padding: 15px 5px 12px 0;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* LOGO-BEREICH */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
#logo-wrapper{
text-align: right;
width: 741px;
height:40px;
margin-right: auto;
margin-left: auto;
}
#logo{
text-align: left;
width: 251px;
height:220px;
padding-right: 10px;
background: #000000;
margin-right: auto;
margin-left: auto;
float:left;
background: url('images/logo.png') no-repeat;
}
#motto{
text-align: right;
width: 480px;
height:220px;
margin-right: auto;
margin-left: auto;
float:right;
background: url('images/hobel.png') no-repeat;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* Content */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
#content{
text-align: right;
width: 741px;
margin-right: auto;
margin-left: auto;
}
#content-nav{
text-align: right;
width: 230px;
margin-top: 40px;
margin-right: 25px;
margin-left: auto;
float:left;
}
#content-inhalt{
text-align: justify;
width: 450px;
margin-top: 40px;
margin-right: 24px;
margin-left: 12px;
float:right;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* IMPRESSUM */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
#impressum-title{
text-align: justify;
width: 450px;
margin-top: 40px;
margin-right: 24px;
margin-left: 12px;
float:right;
}
#impressum-links{
text-align: left;
width: 220px;
margin-top: 40px;
margin-left: auto;
margin-right: 10px;
float:left;
}
#impressum-rechts{
text-align: links;
width: 220px;
margin-top: 40px;
margin-left: auto;
float:left;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* Footer */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
#footer{
text-align: right;
width: 753px;
height:50px;
margin-right: auto;
margin-left: auto;
color: #303030;
float:left;
background: url('images/background_center.png') repeat-y;
}
#copyright{
text-align: right;
width: 235px;
margin-right: auto;
margin-left: auto;
margin-top: 15px;
float:left;
}
#line{
text-align: center;
width: 25px;
margin-right: auto;
margin-left: auto;
margin-top: 15px;
float:left;
}
#adresse{
text-align: left;
width: 481px;
margin-right: auto;
margin-left: auto;
margin-top: 15px;
float:left;
}
br.nav{
line-height:1px;
}
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* Links */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
.class1 A:link {text-decoration: none; color: #303030;}
.class1 A:visited {text-decoration: none; color: #303030;}
.class1 A:active {text-decoration: none; color: #999999;}
.class1 A:hover {text-decoration: underline; color: #999999;}
.class2 A:link {text-decoration: underline; color: #303030;}
.class2 A:visited {text-decoration: none; color: #999999;}
.class2 A:active {text-decoration: none; color: #303030;}
.class2 A:hover {text-decoration: none; color: #999999;}
|
---------------------------------------
---------------------------------------
---------------------------------------
|