| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| pirate Registriert seit: Nov 2005
Beiträge: 983
| CSS einlese fehler
hab in der CSS stehen h1 { color:red; } im html <h1>test</h1> der w3c validator sagt Einlese-Fehler //headlines h1 { color: red; } und meine html ignoriert das color: red; auch..... das kapier ich schlicht und einfach nicht. bin ich jetzt vollkommen verblödet? gruß |
| | |
| | #2 (permalink) |
| mod_rewrite Registriert seit: Feb 2003 Ort: München
Beiträge: 15.720
|
Irgendwelche unsichtbaren Zeichen im CSS..? Gib dem Ding mal testweise noch nen background…
__________________ RTFM Wie man Fragen richtig stellt. Money makes the world go round, fear makes it turn much faster. (New Model Army) Geändert von sonar (01-03-2010 um 15:18 Uhr) |
| | |
| | #3 (permalink) |
| pirate Registriert seit: Nov 2005
Beiträge: 983
|
Was meinst du mit unsichtbaren zeichen? background zeigt keine änderung. falls es was hilft. die h1 ist verschachtelt: Code: <div class="contentDiv"> <div class="contentHeaderDiv"> <h1>contentHeader</h1><br /> ContentHeaderDesc </div> <div class="contentContentDiv"> contentContentDiv </div> </div> |
| | |
| | #5 (permalink) |
| pirate Registriert seit: Nov 2005
Beiträge: 983
| Code: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Y-</title> <link href="css.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="topBg"> </div> <div class="layoutDiv"> <div class="logDiv"> - </div> <div class="menuDiv"> <div class="menuBarDiv"> </div> </div> <div class="infoDiv"> - </div> <div class="contentPackageDiv"> <div class="sidebar"> sidebarLeft </div> <div class="contentDiv"> <div class="contentHeaderDiv"> <h1>contentHeader</h1><br /> ContentHeaderDesc </div> <div class="contentContentDiv"> contentContentDiv </div> </div> <div class="sidebarRight"> <div class="sidebarRightHeader"> sideBarHeader<br /> sideBarHeaderDesc </div> <div class="sidebarRightContent"> sideBarContent </div> </div> <div style="clear:both;"> </div> </div> </div> </body> </html> Code: html {
background-color: #FFFFFF;
font-family: Arial, Verdana;
font-size: 11px;
color: #474747;
margin: 0;
padding: 0;
}
body {
background-color: #FFFFFF;
font-family: Arial, Verdana;
font-size: 11px;
color: #474747;
margin:0px;
padding:0px;
}
div.topBg {
position: absolute;
margin: 0;
padding: 0;
top: 0;
height: 74px;
width: 100%;
background-image: url("img/topBg.png");
background-repeat: repeat-x;
}
div.layoutDiv {
height: auto;
width: 1038px;
margin-left: auto;
margin-right: auto;
}
div.logDiv {
position: relative;
margin-right: 0;
margin-left: auto;
margin-top: 20px;
width: 220px;
height: auto;
text-align:right;
}
div.menuDiv {
position: relative;
width: 100%;
height: 100;
margin-top: 3px;
background-image: url("img/menubarBg.png");
background-position: center;
background-repeat: no-repeat;
}
div.menuBarDiv {
position: relative;
width: 100%;
height: 80px;
padding-bottom: 0px;
}
div.infoDiv {
border-bottom: 1px solid #d5d5d5;
position: relative;
padding-top: 20px;
padding-bottom: 20px;
margin-bottom: 25px;
width: 100%;
height: auto;
}
div.contentPackageDiv {
position: relative;
height: auto;
width: 100%;
}
div.sidebar {
border-right: 1px solid #d5d5d5;
position: relative;
float: left;
height: 500px;
width: 215px;
margin-top: 50px;
}
div.sidebarRight {
position: relative;
float: right;
height: 500px;
width: 205px;
margin-left: 45px;
}
div.sidebarRightHeader {
position: relative;
width: 100%;
height: auto;
padding-bottom: 20px;
border-bottom: 1px solid #d5d5d5;
}
div.sidebarRightContent {
margin-top: 5px;
}
div.contentDiv {
position: relative;
float: left;
width: 515px;
height: 500px;
margin-left: 45px;
}
div.contentHeaderDiv{
position: relative;
width: 100%;
height: auto;
padding-bottom: 20px;
border-bottom: 1px solid #d5d5d5;
}
div.contentContentDiv{
margin-top: 5px;
}
//headlines
h1 {
color: red;
background-color: #ffffff;
}
// LINKS
a.textLink {
color: #474747;
text-decoration: none;
}
a.textLink:link {
color: #474747;
text-decoration: none;
}
a.textLink:hover {
color: #474747;
text-decoration: underline;
}
a.textLink:visited {
color: #474747;
text-decoration: none;
} |
| | |
| | #9 (permalink) |
| pirate Registriert seit: Nov 2005
Beiträge: 983
|
Habe es geändert, aber das war es leider nicht. Noch einen Vorschlag? x( Ich mein mit der *.html file kann es ja kaum zusammenhängen, denn ich validier ja nur die *.css und da kommt ja schon ein "einlese-fehler". ich weiß da echt nicht weiter, kann halt die headlines nicht stylen... //edit: das wars, entschuldigt, quick publishing in espresso vergessen anzustellen! Geändert von robert (01-03-2010 um 20:27 Uhr) |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| XML einlese-Funktion | supatascha | Flash 8 | 1 | 16-02-2006 17:04 |
| UIScrollBar geht nich wenn ich txt einlese | sethmorrison | Flash MX 2004 | 3 | 27-09-2005 13:59 |
| komponente funzt nicht mehr, wenn ich die swf in eine andere einlese | Mr.Twister | Flash MX 2004 | 0 | 28-02-2004 14:39 |
| txt datein einlese fehler | hudschga | Flash und Datenbanken | 3 | 07-06-2003 11:21 |
| suche array verzeichnis einlese befehl | echo5-7 | PHP und MySQL | 2 | 26-05-2003 17:57 |