Lieber steffen,
hier habe ich einen Vorschlag für Dich:
Speichere alle Layout-Bilder (bei Dir momentan in "css/images") in ein Verzeichnis "images/layout". Ich finde, dass Bilddateien nicht unbedingt eine Unterkategorie von CSS-Daten sind. Dann kannst Du folgenden Entwurf nachvollziehen:
[HTML "index.html"]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>xxx</title>
<link rel="stylesheet" type="text/css" href="css/standard.css" media="screen" />
</head>
<body>
<div id="page">
<div id="header"></div>
<div id="content">
<h1>xxx</h1>
<p>Ihr Unternehmen bei dem Service ganz groß geschrieben wird!</p>
</div>
<div id="sidebar">
<h2>Wir sind für Sie da</h2>
<dl>
<dt>Mo-Fr:</dt>
<dd>9.30 Uhr - 19.00 Uhr</dd>
<dt>Sa:</dt>
<dd>9.30 Uhr - 15.00 Uhr</dd>
</dl>
</div>
<div id="navi">
<h2>Navigation</h2>
<ul>
<li><a href="index.html">Start</a></li>
<li class="current"><a href="index.html">Team</a></li>
<li><a href="index.html">Anfahrt</a></li>
<li><a href="index.html">Angebote</a></li>
<li><a href="index.html">Kontakt</a></li>
</ul>
</div>
<p id="footer">© xxx</p>
</div>
</body>
</html>
[CSS "standard.css"]
/* clear defaults */
html, body {
background-color: #ffffff;
margin: 0;
padding: 0;
font-size: 100.1%;
color: #000000;
}
html {
background: url(../images/layout/pageBackground.gif);
}
body {
margin: 0;
padding: 0;
background: url(../images/layout/pageHeaderBackground.gif) repeat-x;
color: #666666;
}
#page {
display: block;
position: relative;
top: 150px;
margin: 0 auto;
padding: 0;
min-height: 600px;
background: #ffffff url(../images/layout/mainDivShadow.gif) repeat-y;
width: 860px;
}
#header {
display: block;
position: relative;
top: -130px;
margin: 0;
padding: 0;
height: 130px;
background: url(../images/layout/mainDivHeader.gif) center top no-repeat;
}
#footer {
display: block;
position: absolute;
bottom: -50px;
left: 0px;
margin: 0;
padding: 0;
height: 50px;
width: 860px;
font-size: 0.6em;
text-align: center;
line-height: 75px;
background: url(../images/layout/mainDivFooter.gif);
color: #999999;
}
#content {
display: block;
float: left;
margin: -34px 0px 0px 35px;
width: 475px;
min-height: 230px;
background: #eaeaea;
border: 1px solid #cfcfcf;
}
#sidebar {
display: block;
position: absolute;
top: 96px;
right: 35px;
width: 250px;
min-height: 500px;
background: #eaeaea;
border: 1px solid #cfcfcf;
}
/* styles for navigation */
#navi {
display: block;
position: absolute;
top: 20px;
left: 3px;
width: 854px;
border-bottom: 4px groove #999999;
}
#navi h2 {
display: none;
}
#navi ul {
display: block;
margin: 0;
padding: 0 0 0 5px;
width: 849px;
list-style: none;
}
#navi li {
display: block;
float: left;
margin: 0 0 0 2px;
padding: 0;
border: 1px solid #999999;
border-bottom: none;
background: url(../images/layout/tabBackground.gif) repeat-x;
}
#navi a {
display: block;
margin: 0;
padding: 0 10px;
font-size: 110%;
font-weight: bold;
color: #999999;
}
#navi a:link {
text-decoration: none;
}
#navi a:hover {
color: #427bd6;
}
#navi .current {
position: relative;
bottom: -2px;
left: 0px;
}
#navi .current a:link {
color: #427bd6;
}
#navi .current a:hover {
color: #649df8;
}
/* regular styles for text boxes */
h1, h2, h3 {
color: #427bd6;
font-weight: normal;
text-align: center;
}
h1 {
font-size: 150%;
}
p, dl {
padding: 0px 20px 1em;
}
dt {
font-weight: bold;
}
Wenn Du das hast, dann sind wir schon ein Stückchen weiter. Dann müsstest Du von Deinem gegenwärtigen Stand des Projektes ein Bildschirmfoto schießen und die benötigten Grafiken daraus entwickeln. Dann kann man mit runden Ecken arbeiten. Ich warte dann hier auf Deinen Entwurf.
Es ist mir klar, dass der momentane Entwurf wahrscheinlich nur im FF einigermaßen anständig funktioniert.
Liebe Grüße,
Felix Riesterer.
--
ie:% br:> fl:| va:) ls:[ fo:) rl:° n4:? de:> ss:| ch:? js:) mo:} zu:)
ie:% br:> fl:| va:) ls:[ fo:) rl:° n4:? de:> ss:| ch:? js:) mo:} zu:)