<body>
<!-- Site navigation menu -->
<div id="container">
<div id="content">
<div id="header">
</div>
<ul class="navbar">
<li><a href="index.php">Home</a></li>
<li><a href="Standesamtliche Hochzeit Thalwil.php">Standesamtliche Hochzeit Thalwil</a></li>
<li><a href="musings.html">Kirchliche Hochzeit Namibia</a></li>
<li><a href="town.html">Reiseziele in Namibia</a></li>
<li><a href="links.html">Fotos von Farm Danube</a></li>
<li><a href="Hochzeitsfotos.php">Hochzeitsfotos</a></li>
<li><a href="links.html">Sonstiges</a></li>
<li><a href="links.html">Kontakt</a></li>
<li id="navbar2"><img src="images/sunflowersmall_03.jpg" alt="Home" width="72" height="80" border="0" /></li>
</ul>
<!-- Main content -->
<div id="text"><h1>Standesamtliche Trauung Thalwil
</h1>
<p>Wir heiraten <strong>Freitag, den 4.4.2008 um 16h in Thalwil</strong>,
mit anschliessenden Apèro in der alten Trotte ab 17h!
</p>
<p><strong>Adresse:</strong> alte Trotte, Alte Landstrasse 102, 8800
Thawil
Wir freuen uns mit Euch anzustossen.
</p>
<img src="images/left_06.jpg" alt="image number one" width="345" height="234" border="0" class="homepageImg" />
<img src="images/right_03.jpg" alt="image number two" width="346" height="234" class="homepageImg" />
</div>
</div>
</div>
</body>
</html>
body {
margin: 0 auto;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
height:100%;
background: #993333;
}
#container {
margin: 0 auto;
background: #993333;
padding: 0px;
width: 100%;
height: 100%;
}
#content {
width: 760px;
height: 550px;
margin: 0 auto;
color: #b5420c;
font-size: 85%;
background-color: #FFCC66;
border-bottom: 1px solid #FFFFCC;
border-right: 1px solid #FFFFCC;
border-left: 1px solid #FFFFCC;
padding: 15px;
}
#header {
background:#FFCC66 url(../images/header_03_03.jpg) no-repeat top;
padding: 0px;
height: 130px;
margin: 0px 0px 2.5em;
}
ul.navbar {
list-style-type: none;
padding: 0;
margin: 0;
position: absolute;
top: 2em;
left: 1em;
right: 0em;
width: 10em;
text-indent: 0px;
text-align: center;
}
#text {
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
padding-top: 0em;
font-style: normal;
padding-left: 30px;
}
p { font-style: normal;
}
h1 {
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
text-decoration:underline;
font-size: 1.5em;
padding-top: 0em;
}
h2 {
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
text-decoration:none;
font-size: 1.5em;
text-align: center;
padding-top: 0em;
}
ul.navbar li {
background: #FF9933;
margin: 0.5em 0;
padding: 0.3em;
border-right: 1em solid black;
border: thin solid #FFFFCC;
}
ul.navbar a {
text-decoration: none;
}
ul.navbar a:link {
color: #b5420c;
}
ul.navbar a:hover {
color: #FFCC66;
text-decoration: none;
border-bottom: 2px dotted}
ul.navbar a:visited {
text-decoration: none;
color: #b5420c;
}
#navbar2{
background: none;
margin: 0.5em 0;
padding: 0.3em;
border: none;
}
/* overall img for whole site*/
img {
padding-top: 0em;
padding-right: 0.5em;
padding-bottom: 0.5em;
}
/* special one for the home page*/
.homepageImg {
padding-top: 0em;
padding-right: .5em;
padding-bottom: 0.5em;
}
#main {
background: url(/Silvia/images/main_03.jpg) no-repeat center;
height: 350px;
}
You don’t need a DIV, just add a class
(class="homepageImg")
to the images, en define it in de stylesheet (see the example).
So you can define all kinds of classes for different mark up!
Succes