Ok Leute,
ich hab mal meine CSS-Datei durch den Validiator laufen lassen und dabei kam 1 Fehler und 1 Warnung heraus:
Fehler
URI : file://localhost/C:\WINDOWS\Desktop\data\format.css
Zeile: 24 Kontext : input.text
Ungültige Nummer : heightnur 0 kann ein length sein. Nach der Zahl muß eine Einheit stehen. : 19
Warnungen:
URI : file://localhost/C:\WINDOWS\Desktop\data\format.css
Line : 5 Level : 1 Sie haben keine Hintergrundfarbe zu der Vordergrundfarbe angegeben : input
Und meine CSS-Datei sieht wie folgt aus:
body, td, th, input
{
font-family: verdana, arial, sans-serif;
font-size: 9pt;
color: #000000;
}
h1
{
font-size: 11pt;
font-style: italic;
font-weight: bold;
color: #6742F2;
background-color: transparent;
margin-bottom: 0px;
}
input.text
{
border-left: 1px #FFFFFF solid;
border-right: 1px #FFFFFF solid;
border-top: 1px #FFFFFF solid;
border-bottom: 1px #000000 dashed;
height: 19;
}
div.titel
{
font-size: 12pt;
font-style: italic;
font-weight: bold;
color: #064EBA;
background-color: transparent;
}
div.menu
{
font-size: 10pt;
font-style: italic;
font-weight: bold;
}
a:link
{
color: #0000C0;
background-color: transparent;
text-decoration: none;
}
a:visited
{
color: #4040FF;
background-color: transparent;
text-decoration: none;
}
a:hover
{
color: #8080FF;
background-color: transparent;
text-decoration: none;
}
a:active
{
color: #C000C0;
background-color: transparent;
text-decoration: none;
}
Was mache ich nur falsch ?
Danke, M@rky