Cascading Style Sheets - Beispiel-Quelltext



/* Formatvorlage */

BODY { 
  background-image:url(css-log1.gif); 
  border:dotted thin #006600; 
}

H1 { 
  color:red; 
  background-color:#ffff00;
  border:solid thin red; 
  font-family:Helvetica,Arial;
  font-size:24pt; 
  line-height:24pt; 
  margin:3pt;
  padding:6pt;
}

P.col1 {
  color:#000066;
  background-color:#00dd00;
  border:solid thin #000066;
  font-family:Helvetica,Arial;
  font-size:12pt;
  text-indent:1em;
  margin:3pt;
  padding:6pt;
}

P.col2 {
  cols:2;
  color:#000066;
  background-color:#00dd00;
  border:solid thin #000066;
  font-family:Helvetica,Arial;
  font-size:12pt;
  text-indent:1em;
  margin:3pt;
  padding:6pt;
}

P.col4 {
  cols:4;
  color:#000066;
  background-color:#00dd00;
  border:solid thin #000066;
  font-family:Helvetica,Arial;
  font-size:12pt;
  text-indent:1em;
  margin:3pt;
  padding:6pt;
}