homplom: 3 elemente horizontal

Beitrag lesen

ich habs jetzt mal über die border variante mit line-hight probiert, funktioniert leider auch nicht.

jetzt sind sogar beide grauen bereiche, also links UND rechts um 1 pixel nach oben verschoben:

http://www.funpic.de/foto/488815

die elemente die direkt nach der headline kommen sehen folgendermaßen aus:

  <div id="divMainContent">  
  <h1>  
  Home  
  </h1>  
  <div class="divMainContentSplitOne">  
  <div class="MainContentDivTopBorderless">  
    <h2>Leistungen</h2>  
    <a href="Leistungen.html"><img src="assets/images/home/leistungen.gif" alt="Leistungen Bild" class="MainContentPictures"/></a>  
    <p>Eine detailierte Auflistung unseres Dienstleistungsangebotes. Bei offenen Fragen Kontaktieren Sie uns bitte per Telefon oder E-mail.</p>  
</div>
h1 {  
	font-size: 28px;  
	color: #B4B4B4;  
	margin-top: 0px;  
	line-height: 21px;  
	border-right-width: 100px;  
	border-left-width: 100px;  
	border-right-style: solid;  
	border-left-style: solid;  
	border-right-color: #B4B4B4;  
	border-left-color: #B4B4B4;  
	text-align: left;  
	float: left;  
	padding-right: 3px;  
	padding-left: 3px;  
}  
  
  
  
  
h2 {  
	font-size: 20px;  
	margin-top: 0px;  
	margin-bottom: 6px;  
}  
  
.  
.  
.  
  
#divMainContent {  
	overflow: auto;  
	width: auto;  
	margin-bottom: 13px;  
	color: #B4B4B4;  
	padding-right: 5px;  
	padding-left: 13px;  
	padding-top: 15px;  
	padding-bottom: 9px;  
}  
  
.MainContentPictures {  
	margin-right: 5px;  
	border-top-style: none;  
	border-right-style: none;  
	border-left-style: none;  
	border-bottom-style: none;  
	float: left;  
}  
  
.MainContentDivMargin {  
	height: 170px;  
	border-top-width: thin;  
	border-top-style: solid;  
	border-top-color: #EE6E00;  
	padding-top: 15px;  
}  
  
.MainContentDivTopBorderless {  
	height: 170px;  
}  
  
.divMainContentSplitOne {  
	text-align: left;  
	width: 335px;  
	margin-bottom: 30px;  
	float: left;  
	clear: left;  
}  
  

die drei punkte bedeuten das da noch anderer code ist der aber (meines achtens) hiefür unwichtig ist, deswegen hab ich ihn mal weggelassen.

ich weis nicht ob es helfen würde wenn ich die komplette html index + css hier rein stelle oder zwecks der übersichtlichkeit eben nur die schnippsel von denen ich vermute das sie relevant sind.