hallo also ich möcht meine HP mit css machen. jetzt hab ich gedacht so klappt das aber da muss wohl was fehlen oder einfach falsch sein..
code css:
Code
body {
background-color: #dcdcdc;
margin: 0;
scrollbar-base-color: #808080;
scrollbar-3dlight-lolor: #a9a9a9;
scrollbar-arrow-color: #696969;
scrollbar-darkshadow-color: #696969;
scrollbar-track-color: #dcdcdc;
text-decoration: none;
}
.tableform {
padding: 5px;
border-collapse: collapse;
background-color: #ffffff;
height: 100%;
width: 900px;
border: 1px solid #808080;
table-layout: fixed;
}
.tablestyle {
padding: 5px;
border-collapse: collapse;
background-color: #ffffff;
height: 100%;
width: 890px;
table-layout: fixed;
border: 1px solid #808080;
}
.oben {
height: 100px;
}
.links {
width: 150px;
}
.mitte {
width: 620px;
}
.rechts {
width: 120px;
}
.unten {
height: 20px;
colspan: 3;
}
#menu ul {
list-style-type: none;
width: 130px;
margin: 0;
padding: 0;
font-weight: bold;
}
#menu li {
margin-bottom: 5px;
}
#menu li a {
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 3px 11px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}
#menu li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
Alles anzeigen
hier die index.html:
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="style/style.css" type="text/css" />
<title>JubWorld.de :::</title>
</head>
<body>
<table class="tableform">
<tr><td class="oben">
<table class="tablestyle">
<tr><td class="links">
<div align="center" id="menu">
<ul>
[*][URL='http://index.html']Hallo[/URL]
[*][URL='http://index.html']Hallo2[/URL]
[/list]
</div>
</td><td class="mitte">
</td><td class="rechts">
</td></tr>
<tr><td class="unten">
</td></tr>
</table>
</td></tr>
</talbe>
</body>
</html>
Alles anzeigen
die css datei ist noch in einem unterordner "style" ... sieht man ja...
wäre echt dankbar weil ich probier da jez schon ne stunde rum und schnalls nich.
mfg