GrafAlucard
Neues Mitglied
hallo leute,
problem: ich habe 1 kopfziele und darunter die navigationsleiste, diese habe ich mit einem farbverlauf als background image versehen, von dunkelgrün zu grün in der kopfzeile und von grün zu hell grün in der navi leiste. damit das farblich einen guss ergibt. jetzt ist es so das bei mir dazwischen ein weißer strich auftaucht, ich dchte erst es ist eine rahmen einstellunga ebr nichts, bei einem kumpel auf dem pc, (die gleiche firefox version) ist diese linie nicht! dazu habe ich karteikarten in das menü gebastelt die mit dem oberen rand des textblocks abschließen, bei mir stimmt das, bei ihm ist es versetzt um 1-2px.
im IE und Opera ist es genauso wie im firefox bei mir (konnte er nicht testen).
woran kann das liegen?
zur besseren verdeutlichung ist hier ein screenshot und der code aus der css und der htm (index).
wäre echt nett wenn mir jemand helfen könnte. Danke schon mal!!!
p.s. die farbverläufe liegen ja in meinem ordner, nun weiß ich nicht wie ihr das prüen wollt ohne die dateien:(
screenshot:
css:
html {
height: 100%;
width: 100%;
}
body {
height: 100%;
width: 100%;
font-family:verdana, arial, sans-serif; font-size:12px;
background-image: url(bg.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
line-height: 1.5;
}
#wrapper {
color: black;
background-color: white;
width: 88%;
margin: auto; /* Div soll zentriert werden */
min-height: 90%; /* Mindesthöhe für moderne Browser */
height:auto !important; /* Important Regel für moderne Browser */
height: 90%; /* Mindesthöhe für den IE */
overflow: hidden !important; /* FF Scroll-leiste */
bottom: 10%;
margin-top: 10%;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
#kopfzeile {
position: relative;
color: black;
background-image: url(bg-kopfzeile1.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
padding-top: 15px;
padding-right: 20px;
padding-bottom: 38px;
padding-left: 20px;
}
#kopfzeile p {
position: absolute;
left: 10px;
font-variant: small-caps;
font-size: 100%;
font-weight: bold;
color: #434242;
}
#kopfzeile p span {
color: maroon;
font-style: italic;
}
#kopfzeile img {
position: absolute;
right: 10px;
}
#navigation {
color: black;
background-image: url(bg-kopfzeile2.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
padding-top: 10px ;
padding-right: 0px;
padding-bottom: 2.5px;
padding-left: 5px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: maroon;
}
#navigation ul {
margin-bottom: 0;
}
#navigation li {
display: inline;
margin: 0;
}
#navigation a {
color: black;
background-image: url(bg-menue.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
text-decoration: none;
padding-top: 4px;
padding-right: 10px;
padding-bottom: 4px;
padding-left: 10px;
border-width: 2px;
border-style: solid;
border-color: maroon;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
#navigation a:hover {
color: black;
background-color: white;
}
#navigation a:active {
color: black;
background-color: blue;
}
#startseite #navi1 a,
#vereinsgeschichte #navi2 a,
#vereinsleben #navi3 a,
#veranstaltungen #navi4 a,
#termine #navi5 a,
#kontakt #navi6 a {
color: black;
background-color: white;
border-bottom-color: white;
font-style: italic;
}
#textbereich {
padding: 20px;
}
#fusszeile {
color: black;
background-image: url(bg-kopfzeile3.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
text-align: center;
padding-top: 10px;
padding-bottom: 5px;
}
p, ul {
margin-top: 0 ;
margin-right: 0 ;
margin-bottom: 1em ;
margin-left: 0;
}
ul ul {
margin: 0;
}
li {
margin-top: 0 ;
margin-right: 0;
margin-bottom: 0;
margin-left: 1em;
}
#textbereich h1 {
font-size: 145%;
letter-spacing: 1pt;
}
#textbereich h2 {
font-size: 125%;
letter-spacing: 1pt;
}
a:link { color: maroon; }
a:visited { color: maroon }
a:hover { background-color: #ffeda0; }
a:active { color: white; background-color: red; }
/*Gestaltung der Tabelle*/
table {
width: 100%;
text-align: center;
background-color: #F3FFB1;
color: black;
border-width: 2px;
border-style: groove;
border-color: #D6D5D5;
border-collapse: collapse;
}
th {
padding: 5px;
font-variant: small-caps;
background-color: #9DD1D1;
color: black;
border-width: 1px;
border-style: groove;
border-top-color: white;
border-right-color: black;
border-bottom-color: black;
border-left-color: white;
}
td {
padding: 3px;
border-width: 1px;
border-style: groove;
border-color: #D6D5D5;
}
tr.zebra {
background-color: #D5F238;
color: black;
}
td.variante1 {
background-color: #BDF9F9;
color: black;
}
td.variante2 {
background-color: #93E3E3;
color: black;
}
tr:hover {
background-color: #9cc;
color: #000;
cursor: pointer;
}
htm index:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>KGV "Einigkeit" e.V. Leipzig</title>
<link rel="stylesheet" type="text/css" href="mylayout.css" media="screen" />
<link rel="stylesheet" type="text/css" href="printlayout.css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body id="startseite">
<div id="wrapper">
<!-- im Browser sichtbarer Teil -->
<div id="kopfzeile">
<p><span>KGV "Einigkeit" e.V. Leipzig</span></p>
<img src="logo.png" alt="Logo" width="75" height="75" />
</div>
<div id="navigation">
<ul>
<li id="navi1"><a href="index.html">Startseite</a></li>
<li id="navi2"><a href="vereinsgeschichte.html">Vereinsgeschichte</a></li>
<li id="navi3"><a href="vereinsleben.html">Vereinsleben</a></li>
<li id="navi4"><a href="veranstaltungen.html">Veranstaltungen</a></li>
<li id="navi5"><a href="termine.html">Termine</a></li>
<li id="navi6"><a href="kontakt.html">Kontakt</a></li>
</ul>
</div>
<div id="textbereich">
<h1>Überschrift</h1>
<p>Satz<br />
Satz</p>
<h2>kleine Überschrift</h2>
<p>Satz</p>
<ul>
<li>erste Ebene
<ul>
<li>Satz</li>
<li>Satz</li>
</ul>
</li>
<li>wieder die erste Ebene</li>
</ul>
<p>Satz
<a href="http://www.css-einfach.de" title="Quickinfo">Link</a> Satz</p>
</div>
<div id="fusszeile">
© by Heinz Homepagebauer
</div>
</div>
</body>
</html>
wenn mir noch jemand sagen könnte wie ich die fußleiste aud den wrapper bekomme, der 10% abstand von rand hat, wäre das toll. ich habe immer nur gefunden wie ich die ganz runter als an das bild ende bekomme, aber nicht wie ein stück hoch^^
problem: ich habe 1 kopfziele und darunter die navigationsleiste, diese habe ich mit einem farbverlauf als background image versehen, von dunkelgrün zu grün in der kopfzeile und von grün zu hell grün in der navi leiste. damit das farblich einen guss ergibt. jetzt ist es so das bei mir dazwischen ein weißer strich auftaucht, ich dchte erst es ist eine rahmen einstellunga ebr nichts, bei einem kumpel auf dem pc, (die gleiche firefox version) ist diese linie nicht! dazu habe ich karteikarten in das menü gebastelt die mit dem oberen rand des textblocks abschließen, bei mir stimmt das, bei ihm ist es versetzt um 1-2px.
im IE und Opera ist es genauso wie im firefox bei mir (konnte er nicht testen).
woran kann das liegen?
zur besseren verdeutlichung ist hier ein screenshot und der code aus der css und der htm (index).
wäre echt nett wenn mir jemand helfen könnte. Danke schon mal!!!
p.s. die farbverläufe liegen ja in meinem ordner, nun weiß ich nicht wie ihr das prüen wollt ohne die dateien:(
screenshot:

css:
html {
height: 100%;
width: 100%;
}
body {
height: 100%;
width: 100%;
font-family:verdana, arial, sans-serif; font-size:12px;
background-image: url(bg.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
line-height: 1.5;
}
#wrapper {
color: black;
background-color: white;
width: 88%;
margin: auto; /* Div soll zentriert werden */
min-height: 90%; /* Mindesthöhe für moderne Browser */
height:auto !important; /* Important Regel für moderne Browser */
height: 90%; /* Mindesthöhe für den IE */
overflow: hidden !important; /* FF Scroll-leiste */
bottom: 10%;
margin-top: 10%;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
#kopfzeile {
position: relative;
color: black;
background-image: url(bg-kopfzeile1.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
padding-top: 15px;
padding-right: 20px;
padding-bottom: 38px;
padding-left: 20px;
}
#kopfzeile p {
position: absolute;
left: 10px;
font-variant: small-caps;
font-size: 100%;
font-weight: bold;
color: #434242;
}
#kopfzeile p span {
color: maroon;
font-style: italic;
}
#kopfzeile img {
position: absolute;
right: 10px;
}
#navigation {
color: black;
background-image: url(bg-kopfzeile2.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
padding-top: 10px ;
padding-right: 0px;
padding-bottom: 2.5px;
padding-left: 5px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: maroon;
}
#navigation ul {
margin-bottom: 0;
}
#navigation li {
display: inline;
margin: 0;
}
#navigation a {
color: black;
background-image: url(bg-menue.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
text-decoration: none;
padding-top: 4px;
padding-right: 10px;
padding-bottom: 4px;
padding-left: 10px;
border-width: 2px;
border-style: solid;
border-color: maroon;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
#navigation a:hover {
color: black;
background-color: white;
}
#navigation a:active {
color: black;
background-color: blue;
}
#startseite #navi1 a,
#vereinsgeschichte #navi2 a,
#vereinsleben #navi3 a,
#veranstaltungen #navi4 a,
#termine #navi5 a,
#kontakt #navi6 a {
color: black;
background-color: white;
border-bottom-color: white;
font-style: italic;
}
#textbereich {
padding: 20px;
}
#fusszeile {
color: black;
background-image: url(bg-kopfzeile3.png);
background-repeat: no-repeat;
background-position: center center;
-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% 100%, auto;
text-align: center;
padding-top: 10px;
padding-bottom: 5px;
}
p, ul {
margin-top: 0 ;
margin-right: 0 ;
margin-bottom: 1em ;
margin-left: 0;
}
ul ul {
margin: 0;
}
li {
margin-top: 0 ;
margin-right: 0;
margin-bottom: 0;
margin-left: 1em;
}
#textbereich h1 {
font-size: 145%;
letter-spacing: 1pt;
}
#textbereich h2 {
font-size: 125%;
letter-spacing: 1pt;
}
a:link { color: maroon; }
a:visited { color: maroon }
a:hover { background-color: #ffeda0; }
a:active { color: white; background-color: red; }
/*Gestaltung der Tabelle*/
table {
width: 100%;
text-align: center;
background-color: #F3FFB1;
color: black;
border-width: 2px;
border-style: groove;
border-color: #D6D5D5;
border-collapse: collapse;
}
th {
padding: 5px;
font-variant: small-caps;
background-color: #9DD1D1;
color: black;
border-width: 1px;
border-style: groove;
border-top-color: white;
border-right-color: black;
border-bottom-color: black;
border-left-color: white;
}
td {
padding: 3px;
border-width: 1px;
border-style: groove;
border-color: #D6D5D5;
}
tr.zebra {
background-color: #D5F238;
color: black;
}
td.variante1 {
background-color: #BDF9F9;
color: black;
}
td.variante2 {
background-color: #93E3E3;
color: black;
}
tr:hover {
background-color: #9cc;
color: #000;
cursor: pointer;
}
htm index:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>KGV "Einigkeit" e.V. Leipzig</title>
<link rel="stylesheet" type="text/css" href="mylayout.css" media="screen" />
<link rel="stylesheet" type="text/css" href="printlayout.css" media="print" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body id="startseite">
<div id="wrapper">
<!-- im Browser sichtbarer Teil -->
<div id="kopfzeile">
<p><span>KGV "Einigkeit" e.V. Leipzig</span></p>
<img src="logo.png" alt="Logo" width="75" height="75" />
</div>
<div id="navigation">
<ul>
<li id="navi1"><a href="index.html">Startseite</a></li>
<li id="navi2"><a href="vereinsgeschichte.html">Vereinsgeschichte</a></li>
<li id="navi3"><a href="vereinsleben.html">Vereinsleben</a></li>
<li id="navi4"><a href="veranstaltungen.html">Veranstaltungen</a></li>
<li id="navi5"><a href="termine.html">Termine</a></li>
<li id="navi6"><a href="kontakt.html">Kontakt</a></li>
</ul>
</div>
<div id="textbereich">
<h1>Überschrift</h1>
<p>Satz<br />
Satz</p>
<h2>kleine Überschrift</h2>
<p>Satz</p>
<ul>
<li>erste Ebene
<ul>
<li>Satz</li>
<li>Satz</li>
</ul>
</li>
<li>wieder die erste Ebene</li>
</ul>
<p>Satz
<a href="http://www.css-einfach.de" title="Quickinfo">Link</a> Satz</p>
</div>
<div id="fusszeile">
© by Heinz Homepagebauer
</div>
</div>
</body>
</html>
wenn mir noch jemand sagen könnte wie ich die fußleiste aud den wrapper bekomme, der 10% abstand von rand hat, wäre das toll. ich habe immer nur gefunden wie ich die ganz runter als an das bild ende bekomme, aber nicht wie ein stück hoch^^