ghi at c'tGerald Himmelein @ c't
Material zu Artikeln | deutsch | English | Bork Bork

CSS2 - Stylesheet-Beispiel: handheld1.css

/* Style-Sheet zur CSS2-Demo, c't 9/99 */
/* fuer Medium 'handheld', Version 1 (kleine Handhelds) */

BODY { font: 16pt "Arial Black"; background-color: white;}

#menue {height: 2.5ex; background-color: black;}

#text {
bottom: 2.5ex;
margin-left: 0;
margin-top: 0;
}

H1 {
color: white;
position: absolute;
bottom: -0.2em;
left: 0em;
}

H2 {
font-size: 70%;
color: black;
margin-top: 2em;
}

H3 {
font-size: 45%;
color: black;
top: -2.8em;
margin-bottom: -2em;
}

P {
font-family: "sans-serif";
/* der Browser soll den Standard-
Font heraussuchen, der (hoffentlich)
auch am besten lesbar ist */

font-size: 45%;
line-height: 90%;

margin-bottom: 0.8em;
margin-left: 0em;
}

A:link { color: black; text-decoration: underline;}

#categories {
top: 0.1ex;

/* ueberfliessen erlaubt */
min-width: 100%;
}

#categories LI {
font-family: "sans-serif";
font-size: 45%;
display: inline;
margin-left: 0.5em;
}

#categories LI A:link { color: white; }

.submenu {visibility: hidden;}

/* Copyright-Zeug und so */
ADDRESS {
font-size: 40%;
margin-top: 0.5em;
margin-right: 0.5em;
}

EM {
color: inherit;
font-style: normal;
text-decoration: underline;
}

Autor: Alexander Oberdörster
Copyright: © 1999 Verlag Heinz Heise

Zurück zu den Erläuterungen