Hallo erstmal,
ich code meine erste CSS Seite jetzt, also nicht wundern, wenn der Code miserabel ist.
Hier zur Seite:
klick mich
In Opera und FireFox wird sie korrekt dargestellt, im IE wird die Box #menu statt 39px Höhe, mit Backgroundimage von 639x39px, mit 107px angezeigt, also das dreifache, dabei sind zweidrittel, also 78px untere Höhe leer.
Hier der CSS Code:
Alles anzeigen
Ihr seit meine aller letzte Hoffnung hier, das ist das vierte Forum, in das ich mein Problem schreibe.
In den anderen hat man mir nicht geholfen.
ich code meine erste CSS Seite jetzt, also nicht wundern, wenn der Code miserabel ist.
Hier zur Seite:
klick mich
In Opera und FireFox wird sie korrekt dargestellt, im IE wird die Box #menu statt 39px Höhe, mit Backgroundimage von 639x39px, mit 107px angezeigt, also das dreifache, dabei sind zweidrittel, also 78px untere Höhe leer.
Hier der CSS Code:
Quellcode
- /* WERTE FÜR ALLES */
- body {
- font-family:Verdana;
- font-size:10px;
- color:#e1e1e1;
- background-color:#7a7a7a;
- text-align:center;
- margin:0px;
- text-decoration: none;
- }
- /*DIE BOX DER GESAMTEN SEITE */
- #box {
- margin:0px auto;
- padding:0px;
- width:636px;
- height:670px;
- border:1px;
- }
- /* DER HEADER */
- #logo {
- background-image: url(logo.jpg);
- background-repeat:no-repeat;
- padding:0px;
- margin:0px;
- border:0px solid #000000;
- float:top;
- width:638px;
- height:220px;
- }
- /* TITLEBAR */
- #titlebar {
- padding:0px;
- margin:0px;
- border-right:1px solid #000000;
- border-left:1px solid #000000;
- float:top;
- width:636px;
- height:12px;
- background-color:#e1e1e1;
- }
- /* MENU PUNKTE */
- #menu {
- padding:0px;
- margin:0px;
- border-left:0px solid #000000;
- border-right:0px solid #000000;
- float:top;
- width:638px;
- height:39px;
- background-image:url(menu.jpg);
- background-repeat:no-repeat;
- }
- #links {
- padding:0px;
- margin:0px;
- border-left:0px solid #000000;
- width:68px;
- height:33px;
- float:left;
- }
- .button {
- text-decoration: none;
- line-height: 51px;
- padding:0px;
- margin:0px;
- border:0px solid #000000;
- width:100px;
- height:32px;
- float:left;
- text-align: right;
- }
- a.url, a.url:link, a.url:visited, a.url:active {
- color: #e1e1e1;
- text-decoration: none;
- }
- a.url:hover {color: #80ba4d;}
- #home {
- width:101px;
- height:32px;
- }
- .link_position {
- position: relative;
- right:5px;
- }
- #rechts {
- padding:0px;
- margin:0px;
- border-right:0px;
- width:69px;
- height:33px;
- float:right;
- }
- /* FREIRAUM */
- #space {
- padding:0px;
- margin:0px;
- border-left:1px solid #000000;
- border-right:1px solid #000000;
- background-color:#e1e1e1;
- width:636px;
- height:13px;
- }
- /* CONTENT BERREICH */
- #content {
- padding-left:5px;
- padding-right:5px;
- margin:0px;
- border-left:1px solid #000000;
- border-right:1px solid #000000;
- width:626px;
- height:371px;
- color:#000000;
- background-color:#e1e1e1;
- float:top;
- text-align: justify;
- }
- /* FOOTER */
- #footer {
- padding:0px;
- margin:0px;
- border:1px solid #000000;
- width:636px;
- height:12px;
- color:#000000;
- background-color:#e1e1e1;
- text-align: right;
- line-height:10px;
- }
- /* IMPRESSUM */
- .impressum, .impressum:link, .impressum:visited, .impressum:active {
- color: #6A6A6A;
- text-align: left;
- text-decoration: none;
- position: relative;
- right:342px;
- }
- .impressum, .impressum:hover {
- color: #000000;
- }
- /* BILDBOX */
- #img_box {
- padding:0px;
- margin-left:5px;
- background-image: url(img_box.jpg);
- width:212px;
- height:122px;
- float:right;
- position:relative; left:6px;
- }
- /* BILD */
- #img {
- padding:0px;
- margin-top:10px;
- width:202px;
- height:102px;
- float:right;
- background-color:#e1e1e1;
- background-image: url(img.jpg);
- }
Ihr seit meine aller letzte Hoffnung hier, das ist das vierte Forum, in das ich mein Problem schreibe.
In den anderen hat man mir nicht geholfen.