IPB

Willkommen, Gast ( Anmelden | Registrierung )

> Fehler In Css, Suche Fehler in CSS-Datei
uschi
Beitrag 12.05.2004 - 23:25
Beitrag #1


is getting harder


Gruppe: User
Beiträge: 21
Mitglied seit: 18.10.2003
Mitglieds-Nr.: 1.498



Hat irgendjemand Langeweile rolleyes.gif und möchte mir helfen? Mit CSS kenne ich mich noch nicht so gut aus, ich lese hier und dort und habe es auch schon manchmal hinbekommen. Aber heute? HÄÄÄ unsure.gif

Im Internetexplorer wird alles richtig gezeigt - aber Netscape usw. zeigen mir meine Fehler! Aber ich weiss nicht welche Fehler ich gemacht habe!

Hier ist mein Link:Testseite für meinen Neffen

Und hier die dazugehörige format.css

}
body{
font-family: "Comic Sans MS";
text-align: center;
font-size: medium;
background-color: #000000;
background-image: url(images/harry.gif);
background-position: bottom left;
background-repeat: no-repeat;
background-attachment: fixed;
color:#C0C0C0;
}
table {
font-family: "Comic Sans MS";
font-size: medium;
}
#title {
width: 730px;
font-style: normal;
font-size: 40px;
font-variant: normal;
font-weight: normal;
height: 40px;
text-align: right;
}

table.center {
font-family: "Comic Sans MS";
font-size: medium;
text-align: center;
vertical-align: middle;
background-position: center;
}
li {
list-style-position: outside;
margin-left: 50px;
}

h1 {
font-size: x-large;
color: Silver;
margin: 0px;
}
h2 {
font-size: large;
color: Silver;
}
h3 {
font-size: smaller;
color: Silver;
}
p {
margin-top: 0px;
color: Silver;
}

a:link, a:active, a:hover
{
color: Gray;
font-size: medium;
}
a:active, a:hover
{
color: Silver;
background-color: Gray;
}
a:visited
{
color: white;
font-size: medium;
background-image: url(images/zauberst.gif);
background-position: right;
background-repeat: no-repeat;
text-decoration: none;
}
/* Die Hyperlinks im Menü */
a.menu:link, a.menu:visited
{
color: Black;
text-decoration: none;
font-size: 18px;
}
a.menu:active, a.menu:hover
{
color: Black;
background-color: Gray;
text-decoration: none;
font-size: 18px;
}

/* Das Menü */
#menu {
color: Black;
background-color: Silver;
text-align: center;
padding: 5px 10px 5px 10px;
width: 730px;
border-left: medium solid Gray;
border-right: medium solid Gray;
border-top: medium solid Gray;
font-size: 18px;
}

/* Der Inhalt */
#content {
border-top: medium solid Gray;
color: Silver;
text-align: justify;
width: 730px;
border-left: medium solid Gray;
border-right: medium solid Gray;
border-bottom: medium solid Gray;
padding: 10px 10px 0px 10px;
background-color: Black;
}
#unten{
color: Black;
background-color: Silver;
text-align: center;
padding: 5px 10px 0px 10px;
width: 730px;
border-left: medium solid Gray;
border-right: medium solid Gray;
border-bottom: medium solid Gray;
font-size: 18px;
}

Im Netscape fehlen Hintergrundbild, schwarzer Hintergrund und die Schrift stimmt auch nicht! Kann sich einer erbarmen?

Danke
Uschi
Go to the top of the page
 
+Quote Post
 
Start new topic
Antworten
i.b.g
Beitrag 13.05.2004 - 15:52
Beitrag #2


Weiss zuviel!!
Gruppensymbol

Gruppe: Mods
Beiträge: 668
Mitglied seit: 19.04.2002
Wohnort: Grimmen
Mitglieds-Nr.: 385



Hallo,

mit generisch ist gemeint, dass man serif oder sans-serif einträgt.

Bsp.
QUELLTEXT
...
font-family: "Comic Sans MS", sans-serif;
...


Jetzt wird, wenn "Comic Sans MS" nicht auf dem Nutzer-PC-gefunden wird, die im Browser voreingestellte serifenlose Schrift angezeigt. Andere als generische Schriften machen stets Probleme, weil man nie wissen kann was beim Nutzer wirklich auf dem PC ist und was er eingestellt. Selbst alle CSS-Angaben können durch ein Nutzer-StyleSheet überschrieben werden, wenn es denn im Browser so eingestellt ist, und dann passt manchmal nichts mehr, wenn man es übertrieben hat.
Go to the top of the page
 
+Quote Post

Beiträge in diesem Thema


Reply to this topicStart new topic
2 Besucher lesen dieses Thema (Gäste: 2 | Anonyme Besucher: 0)
0 Mitglieder:

 



RSS Vereinfachte Darstellung Aktuelles Datum: 17.05.2025 - 4:00

taschenkalender
expertise-panel IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here