﻿<html>
<head>
<title>TR-stylesheet</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<style type="text/css">
<!--
h1 { font-size: 20pt; font-family: arial; color: #00dd00}
h2 { font-size: 15pt; font-family: arial; color: #0000ff}
p { font-size: 11pt; color: black; font-family: arial; font-weight: bold;}
body { font-size: 11pt; color: black; font-family: arial; font-weight: bold;}
a:link { font-size: 10pt; color: blue; font-family: arial;  font-weight: bold; ext-decoration: underline;}
a:hover {font-size: 10pt; color: #00ff00; text-decoration: underline; etter-spacing: 1px; cursor: hand; 
	font-weight:bold; ext-transform: uppercase;}
a:visited {font-size: 10pt; font-family: arial; color: #ff0000; ext-decoration: underline;}
a:active {font-size: 10pt; color: orange; text-decoration: underline;}
table { font-size: 11pt; font-family: arial; color:black; font-weight: bold;} 
.mgrøn {color: #006600; } 
.groen {color: 00ff00;}         .blue {color: 0000ff;} 
.red {color: ff0000;}         .violet  {color: cc66ff;}  
.hvid  {color: ffffff;}
.lightblue {color: 00ccff;}
   .newColor {background: #FF6600; CURSOR: Hand; }
.q {font-weight: bold; font-size: 6pt;}
.white { color: white; }
.size12 { font-size: 12pt; }
.size14 { font-size: 14pt; }
.size16 { font-size: 16pt; }
 --></style>
 </head>
Dette er en synlig udgave af stylesheettr.css, eneste forskel er filtypenavnet...
<body bgcolor=eeeeff>
<h1>Overskrift i H1</h1>
<h2>underskrift i H2</h2>
<p>sætning i p</p>
<a href=index.htm>Besøgt Link</a><br>
<a href=b.htm>Ikke besøgt Link (besøg det ikke!)</a><br>
<p class="mgrøn">p i class mgrøn</p>
<p class="groen">p i class groen</p>
<p class="blue">p i class blue</p>
<p class="red">p i class red</p>
<p class="violet">p i class violet</p>
<p class="hvid">p i class hvid</p>
<h2 class=hvid>H2 i class hvid</h2>
<h2 class=lightblue>H2 i class=lightblue</h2>
<p class=newcolor>p i class newcolor (background)</p>
Obs: reglerne i dette style sheet virker ikke i dokumentet selv...???? Jo hvis jeg fjerner alt med "meta"...<br>
htm-dokumenter må gemmes som utf-8, da ansi ikke tillader visse tegn, og unicode gør, at tællere fra get2net ikke virker.<br>
Regler for linkfarver: indstillingerne under Internetindstillinger er gældende, MED MINDRE:<BR>
for linktekst: andet er defineret i stylesheet (eller i head, style?). alink virker kun ved ikke besøgte links (men det virker i aktuelt.htm???? Følger Internetindstillinger. Virker pludselig, når a:visited fjernes-men så virker skrifttypen ikke...<br>
for linkbilledrammer: andet er defineret under body: vlink="..." Anførselstegn er væsentligt.<br><br>Denne skrift er styret af Internetindstillinger, da den ikke har tags.<br> Se CSStutorial/lektion6!<br><br>Obs: der må ikke være anførselstegn i farvedefinitionerne, for så virker de ikke i Firefox...
<p>Alm tekst i p, bliver ikke grøn???</p>
</body>
</html>

