Måske skulle jeg lige på de CSS'er jeg bruger:
layout.css:
div#banner h1 {
margin: 15 0 25 10; color: #000000;
font-family: "berlin sans fb demi";
font-size: 28px; color: red; text-decoration: overline
underline; letter-spacing: 8px;
text-transform: uppercase; text-align: center; no-border;
}
div#leftcol {
width: 170px; float: left;
margin-top: 175px;
border: 1px solid black; height: 275px;
}
#indhold {
height: 425px; margin: 10px 180px 0px 180px;
padding: 10px;
border: 1px solid black;
}
div#indhold p {
text-align: center;
}
div#indhold background {
position: absolute; width: 250px; height: 250px;
left: 50%; top: 50%;
margin-left: -200px; margin-top: -150px;
background-repeat: no-repeat;
}
div#indhold logo img {
float: left; width: 200px; height: 240px;
border-color:#ccc #999 #999 #ccc;
border-width: 3 5 5 3; border-style: groove;
padding: 2px; margin-top: 20px; margin-right: 10px;
}
#rightcol {
position: absolute; right: 15px; top: 90px;
width: 170px; height: 410px;
border: 1px solid black;
}
#footer {
color: #000; width: 100%; margin: 1px;
}
div#footer p {
text-align: center;
}
div#footer img {
float: right;
}
global.css:
body {
background-color: #efefef;
font-family: verdana;
font-size: 14px;
margin: 10px 15px;
}
h1 {
background-color: none;
font-family: "berlin sans fb demi";
font-size: 28px;
color: red;
text-align: center;
text-decoration: overline underline;
text-transform: uppercase;
letter-spacing: 8px;
}
h2 {
font-size: 14px;
color: red;
text-align: center;
}
h3 {
font-size: 10px;
color: red;
text-align: center;
}
p {
font-size: 13px;
margin-left: 0px;
color: black;
}
span.redstyle {color:red}
span.yellowstyle {color:purple}
span.greenstyle {color:blue}
span.italic {font-style:italic}
span.navn {font-style:italic}
a {
color: blue; text-decoration: none;
}
--
Vil du lære at kode HTML, XHTML, CSS, SSI, ASP eller ASP.NET?
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! =>
http://www.html.dk/tutorials