CSS Text formatierung

Status
Nicht offen für weitere Antworten.
HTML:
}<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jan Gehring - Protoss Eleven \______Microsite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

</head>

<body BGCOLOR="#eeead8">

<div id="container">
	<div id="header"></div>
	<div id="einleitungsbox">  <!-- /einleitungsbox -->
		<div id="headlinebox"></div> 
		<h1>Herzlich Willkommen</h1>
		<h2>
		auf meiner digitalen Microsite. Auf diesen Seiten finden Sie einige meiner
		bisherigen Arbeiten <br> und Informationen zu meiner Person. Ich bin 22 Jahre
		jung und komme aus der schönen <br> Wedemark bei Hannover. Seit nun mehr 
		als 5 Jahren bin ich privat im Grafikbereich tätig und <br> habe Erfahrungen mit
		den unterschiedlichsten Grafikprogrammen gesammlt. Dazu zählen <br>Adobe 
		Produkte, wie Photoshop CS, After Effects, InDesign und Illustrator oder 
		auch <br>Macromedia Flash MX, sowie Cinema 4D von Maxon. Bis zur Fertig-
		stellung der Mainpage,  <br>wird diese erstmal aktiv bleiben. 
		 </h2>
		 <div id="fotobox"></div>
	</div> 	<!-- /einleitungsbox -->
	<div id="webbg"> <!-- /webbg -->
			<div id="headlinebox2"></div>
			<div id="ref_ottiweb"><a href="full_refs/full_ottiweb.jpg" rel="lightbox" title="eSports Ottisports - 2005"></a></div>
			<div id="ref_bounced"><a href="full_refs/full_bounced.jpg" rel="lightbox" title="Get-Bounced Hosting - www.get-bounced.de - 2003"></a></div>
			<div id="ref_aesculus"><a href="full_refs/full_aesculus.jpg" rel="lightbox" title="Aesculus Heilpraktiker Schulen - www.aesculus-schulen.de - 2005"></a></div>
			<div id="ref_flirtportal"><a href="full_refs/full_flirtportal.jpg" rel="lightbox" title="Flirtportal - 2006"></a></div>
			<div id="ref_temp1"><a href="full_refs/full_temp1.jpg" rel="lightbox" title="Magix Website Maker Template - 2007"></a></div>
			<div id="ref_temp2"><a href="full_refs/full_temp2.jpg" rel="lightbox" title="Magix Website Maker Template - 2007"></a></div>
			<div id="ref_tuning"><a href="full_refs/full_tuning.jpg" rel="lightbox" title="Mainzelmännchentuning - 2004"></a></div>
			<div id="ref_munix"><a href="full_refs/full_munix.jpg" rel="lightbox" title="eSports Clan Munix - 2004"></a></div>
	</div>	<!-- /webbg -->
	<div id="artworks"> <!-- /artworks -->
			<div id="headlinebox3"></div>
			<div id="ref_bloodhead"><a href="full_refs/full_bloodhead.jpg" rel="lightbox" title="Bloodhead Comic - 2004"></a></div>
			<div id="ref_horde"><a href="full_refs/full_horde.jpg" rel="lightbox" title="Die Horde - 2006"></a></div>
			<div id="ref_Smiley"><a href="full_refs/full_smiley.jpg" rel="lightbox" title="Punk Smiley & Crazy Smiley - 2005"></a></div>
			<div id="ref_Skycity"><a href="full_refs/full_skycity.jpg" rel="lightbox" title="Skycity - 2006"></a></div>
			<div id="ref_theface"><a href="full_refs/full_face.jpg" rel="lightbox" title="The Face - 2005"></a></div>
			<div id="ref_planet"><a href="full_refs/full_planet.jpg" rel="lightbox" title="Planet X37 - 2005"></a></div>
			<div id="platz1"></div>
			<div id="platz2"></div>
	</div> <!-- /artworks -->
	<div id="printmedien"> <!-- /printmedien -->
			<div id="headlinebox4"></div>
			<div id="ref_marenkolf"><a href="full_refs/full_marenkolf.jpg" rel="lightbox" title="Visitenkarte Maren Kolf - 2005"></a></div>
			<div id="ref_rhön"><a href="full_refs/full_rhön.jpg" rel="lightbox" title="Logo Rhöner Leben - 2006"></a></div>
			<div id="ref_styleforce"><a href="full_refs/full_styleforce.jpg" rel="lightbox" title="Logo Styleforce - 2004"></a></div>
			<div id="ref_bdayflyer"><a href="full_refs/full_bdayflyer.jpg" rel="lightbox" title="Geburtstags Flyer - 2006"></a></div>
			<div id="ref_flyerstrand"><a href="full_refs/full_flyerstarnd.jpg" rel="lightbox" title="Sommerparty Flyer - 2006"></a></div>
			<div id="ref_shirt1"><a href="full_refs/full_shirt1.jpg" rel="lightbox" title="T-Shirt Design - 2007"></a></div>
			<div id="ref_shirt2"><a href="full_refs/full_shirt2.jpg" rel="lightbox" title="T-Shirt Design - 2007"></a></div>
			<div id="platz3"></div>
	</div> <!-- /printmedien -->
	<div id="fotos"> <!-- /fotos -->
			<div id="headlinebox5"></div>
			<div id="foto_grömitz"><a href="fotos/grömitzgalerie/1.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a></div>
			<a href="fotos/grömitzgalerie/2.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/3.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/4.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/5.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/6.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/7.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/8.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/9.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/10.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/11.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/12.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/13.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/14.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/15.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/16.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/17.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/18.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/19.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/20.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/21.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/22.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/23.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/24.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			<a href="fotos/grömitzgalerie/25.jpg" rel="lightbox[grömitz]" title="Grömitz 2006"></a>
			
			<div id="foto_22bday"><a href="fotos/22bday/IMG_0001.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a></div>
		    <a href="fotos/22bday/IMG_0002.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0003.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0004.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0005.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0006.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0007.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0008.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0009.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0010.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0011.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0012.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0013.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0014.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0015.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0016.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0017.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1765.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1764.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1763.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1762.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1761.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1760.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1759.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1758.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1757.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1756.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1755.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1753.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1751.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1750.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1749.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1748.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1747.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1746.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1745.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1744.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1743.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1742.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1741.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1740.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1739.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1738.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1737.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1736.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1735.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1734.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1733.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1732.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1731.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1730.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1729.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1728.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0028.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0027.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0026jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0025.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0024.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0023.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0022.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0021.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0020.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0018.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_0019.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			<a href="fotos/22bday/IMG_1766.jpg" rel="lightbox[22bday]" title="22. Geburtstag 2006"></a>
			
			<div id="foto_sil05"><a href="fotos/sil05/IMG_1144.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a></div>
			<a href="fotos/sil05/IMG_1145.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1146.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1147.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1148.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1149.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1150.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1151.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1152.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1153.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1154.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1155.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1157.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1158.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1159.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1160.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1161.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<a href="fotos/sil05/IMG_1162.jpg" rel="lightbox[sil05]" title="Silvester @ Home 2005"></a>
			<div id="platz4"></div>
			<div id="platz5"></div>
			<div id="platz6"></div>
			<div id="platz7"></div>
			<div id="platz8"></div>
	</div> <!-- /fotos -->
	<div id="kontakt"><!-- /ende kontakt -->
			<div id="headlinebox6"></div>
			
			<h3>Leistungen:</h3>
			<h4>
			- Trailer, Teaser <br>
			- Animationen <br>
			- Gestaltung von Printmedien <br>
			- Gestaltung von Websites <br>
			- Realisierung von Microsites <br>
			- Logodesign und Bildbearbeitung <br>
			- Bannerdesign <br>
			- Flashnavigationen <br>
			</h4>
		
            <h5>Skills:</h5>
			<h6>
			- Trailer, Teaser <br>
			- Animationen <br>
			- Gestaltung von Printmedien <br>
			- Gestaltung von Websites <br>
			- Realisierung von Microsites <br>
			- Logodesign und Bildbearbeitung <br>
			- Bannerdesign <br>
			- Flashnavigationen <br>
			</h6>
			
  </div><!-- /ende kontakt -->
  
</div> <!-- /container -->

</body>
</html>

CSS

HTML:
html,body {
margin: 0;
padding: 0;
}
#container {
width: 794px;
margin: 0 auto;
}
#header {
height: 297px;
background-image: url('header.png');
background-repeat: no-repeat;
background-position: center top;
position: relative;
top: -18px;
}
#einleitungsbox {
width: 794px;
height: 201px;
background-image: url('einleitungbg.png');
background-repeat: no-repeat;
position: relative;
top: -56px;
}
#headlinebox {
position: relative;
width: 87px;
height: 29px;
top: 15px;
left: 15px;
background-repeat: no-repeat;
background-image: url('hboxEinleitung.png');
}

h1 { 
	font: bold 8pt arial; 
	letter-spacing: 1px; 
	position: relative;
	top: 11px;
	left: 30px;
	color: #ffffff;
	}
	h2 { 
	font: normal 8pt arial; 
	letter-spacing: 0px; 
	position: relative;
	top: 5px;
	left: 30px;
	color: #ffffff;
	}
#fotobox {
position: relative;
width: 309px;
height: 207px;
top: -184px;
left: 469px;
background-repeat: no-repeat;
background-image: url('fotobox.png');
}
#webbg {
width: 794px;
height: 258px;
background-image: url('webbg.png');
background-repeat: no-repeat;
position: relative;
top: -56px;
}
#headlinebox2 {
position: relative;
width: 108px;
height: 29px;
top: 15px;
left: 15px;
background-repeat: no-repeat;
background-image: url('hboxweb.png');
}
#ref_ottiweb a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_otti.png');
	position: relative;
	top: 20px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#ref_ottiweb a:hover {
	background-position: 0px -86px;
}
#ref_bounced a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_bounced.png');
	position: relative;
	top: 20px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#ref_bounced a:hover {
	background-position: 0px -86px;
}
#ref_aesculus a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_aesculus.png');
	position: relative;
	top: 20px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#ref_aesculus a:hover {
	background-position: 0px -86px;
}
#ref_flirtportal a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_flirt.png');
	position: relative;
	top: 20px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#ref_flirtportal a:hover {
	background-position: 0px -86px;
}
#ref_temp1 a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_temp1.png');
	position: relative;
	top: 35px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#ref_temp1 a:hover {
	background-position: 0px -86px;
}
#ref_temp2 a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_temp2.png');
	position: relative;
	top: 35px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#ref_temp2 a:hover {
	background-position: 0px -86px;
}
#ref_tuning a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_tuning.png');
	position: relative;
	top: 35px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#ref_tuning a:hover {
	background-position: 0px -86px;
}
#ref_munix a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_munix.png');
	position: relative;
	top: 35px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#ref_munix a:hover {
	background-position: 0px -86px;
}
#artworks {
width: 794px;
height: 258px;
background-image: url('webbg.png');
background-repeat: no-repeat;
position: relative;
top: -56px;
}
#headlinebox3 {
position: relative;
width: 85px;
height: 29px;
top: 15px;
left: 15px;
background-repeat: no-repeat;
background-image: url('hboxArtworks.png');
}
#ref_bloodhead a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_bloodhead.png');
	position: relative;
	top: 20px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#ref_bloodhead a:hover {
	background-position: 0px -86px;
}
#ref_horde a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_horde.png');
	position: relative;
	top: 20px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#ref_horde a:hover {
	background-position: 0px -86px;
}
#ref_Smiley a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_smiley.png');
	position: relative;
	top: 20px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#ref_Smiley a:hover {
	background-position: 0px -86px;
}
#ref_Skycity a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_skycity.png');
	position: relative;
	top: 20px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#ref_Skycity a:hover {
	background-position: 0px -86px;
}
#ref_theface a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_face.png');
	position: relative;
	top: 35px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#ref_theface a:hover {
	background-position: 0px -86px;
}
#ref_planet a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_planet.png');
	position: relative;
	top: 35px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#ref_planet a:hover {
	background-position: 0px -86px;
}
#platz1  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top: 35px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#platz2  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top: 35px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#printmedien {
width: 794px;
height: 258px;
background-image: url('webbg.png');
background-repeat: no-repeat;
position: relative;
top: -56px;
}
#headlinebox4 {
position: relative;
width: 108px;
height: 29px;
top: 15px;
left: 15px;
background-repeat: no-repeat;
background-image: url('hboxPrintmedien.png');
}
#ref_marenkolf a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_marenkolf.png');
	position: relative;
	top: 20px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#ref_marenkolf a:hover {
	background-position: 0px -86px;
}
#ref_rhön a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_rhön.png');
	position: relative;
	top: 20px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#ref_rhön a:hover {
	background-position: 0px -86px;
}
#ref_styleforce a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_styleforce.png');
	position: relative;
	top: 20px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#ref_styleforce a:hover {
	background-position: 0px -86px;
}
#ref_bdayflyer a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_bday.png');
	position: relative;
	top: 20px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#ref_bdayflyer a:hover {
	background-position: 0px -86px;
}
#ref_flyerstrand a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_sommerflyer.png');
	position: relative;
	top: 35px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#ref_flyerstrand a:hover {
	background-position: 0px -86px;
}
#ref_shirt1 a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_shirtskull.png');
	position: relative;
	top: 35px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#ref_shirt1 a:hover {
	background-position: 0px -86px;
}
#ref_shirt2 a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_shirtbrand.png');
	position: relative;
	top: 35px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#ref_shirt2 a:hover {
	background-position: 0px -86px;
}
#platz3  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top: 35px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#fotos {
width: 794px;
height: 258px;
background-image: url('webbg.png');
background-repeat: no-repeat;
position: relative;
top: -56px;
}
#headlinebox5 {
position: relative;
width: 108px;
height: 29px;
top: 15px;
left: 15px;
background-repeat: no-repeat;
background-image: url('hboxFotos.png');
}
#foto_grömitz a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('fotos/grömitz.png');
	position: relative;
	top: 20px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#foto_grömitz a:hover {
	background-position: 0px -86px;
}
#foto_22bday a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('fotos/22geburtstag.png');
	position: relative;
	top: 20px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#foto_22bday a:hover {
	background-position: 0px -86px;
}
#foto_sil05 a {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('fotos/silvester05.png');
	position: relative;
	top: 20px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#foto_sil05 a:hover {
	background-position: 0px -86px;
}
#platz4  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top:  20px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#platz5  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top:  35px;
	left: 27px;
	background-repeat:no-repeat;
	float:left;
}
#platz6  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top:  35px;
	left: 42px;
	background-repeat:no-repeat;
	float:left;
}
#platz7  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top:  35px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#platz7  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top:  35px;
	left: 57px;
	background-repeat:no-repeat;
	float:left;
}
#platz8  {
	width: 172px; 
	height: 86px; 
	display:block;
	background-image:url('refs/small_platzhalter.png');
	position: relative;
	top:  35px;
	left: 72px;
	background-repeat:no-repeat;
	float:left;
}
#kontakt {
width: 794px;
height: 201px;
background-image: url('einleitungbg.png');
background-repeat: no-repeat;
position: relative;
top: -56px;
}
#headlinebox6 {
position: relative;
width: 108px;
height: 29px;
top: 15px;
left: 15px;
background-repeat: no-repeat;
background-image: url('hboxInfos.png');
}
h3 { 
	font: bold 8pt arial; 
	letter-spacing: 0px; 
	position: relative;
	top: 11px;
	left: 30px;
	color: #ffffff;
	
	}
h4 { 
	font: 8pt arial; 
	letter-spacing: 0px; 
	position: relative;
	top: 0px;
	left: 30px;
	color: #ffffff;
	}
 
Wo ist denn der neu hinzugefügte Textblock bzw. die beiden weiteren Spalten, und wo sind die floatenden DIVs leftCol und rightCol geblieben?

Die um zwei neue Spalten erweiterte Variante funktioniert bei mir einwandfrei:

Code:
.leftCol {
    float:left;
    width:198px;
}

.rightCol {
    float:right;
    width:198px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
Code:
<div id="kontakt" class="clearfix"><!-- /ende kontakt -->
     <div id="headlinebox6"></div>
     <div class="leftCol">
          <h3 class="left">Spalte 1:</h3>
          <h4>
          ...
          </h4>
     </div>
     <div class="leftCol">
          <h3 class="left">Spalte 2:</h3>
          <h4>
          ...
          </h4>
     </div>
     <div class="leftCol">
          <h3 class="left">Spalte 3:</h3>
          <h4>
          ...
          </h4>
     </div>
     <div class="rightCol">
          <h3 class="left">Spalte 4:</h3>
          <h4>
          ...
          </h4>
     </div>
</div><!-- /ende kontakt -->
 
Hallo,

jetzt funktioniert es fast perfekt. Jedoch liegen die 4 Spalten direkt aneinander. Wie bekomme ich die einzelnen Spalten ca. 10 px auseinander ?
 
Hi,

ruf mal in den vier Spalten anstelle von leftCol und rightCol diese neue Klasse floatBox auf:

Code:
.floatBox {
float:left;
width:188px;
background:#fff;
border:5px solid #eeead8;
}
 
Status
Nicht offen für weitere Antworten.
Zurück