ich ärgere mich gerade mit css herum, ich bin da kein Profi sondern Newbie...
Also, ich habe einen mit "div style="position: absolute; blabla" angelegten Bereich, in dem ein weitere div-Bereich und via span mehrere Unterbereiche verschachtelt sind.
Lt. css4U sollte der Hintergrund auch im IE angezeigt werden, tut es aber nicht, sondern statt der Hintergrundfarbe ist es transparent. *fluch laut rum*
Das schaut dann ganz genau so aus:
<!-- Artikel-->
<div id="artikel" style="position: absolute; left: 160px; top: 0px; right: 190px; width:468px; background-color:#e1e1e1; min-height:220px; max-height:100%;">
<div style="position: absolute; left: 0px; top: 0px; right: 0px; width:128px; margin:10px 10px 10px 10px;">
<span>
<!-- Artikelbild -->
<img src="hint01.gif" width="120px" height="120px" border="1px" align="top"></img>
<p>+ vergrössern </p>
<!-- Bewertung + Druck-->
<p>X als PDF ausgeben </p>
<p>X Bewertung abgeben </p>
<p>X Bewertung(en) lesen </p>
</span>
</div>
<div style="position: absolute; left: 128px; top: 0px; right: 0px; width:205px; margin:0px 5px 0px 5px;">
<span>
<!-- Produktname-->
<h2>Produktname </h2>
<h1>genauere Artikelbezeichnung </h1>
<p>Hier kommt die Kurzbeschreibung rein </p>
<p>Für eine ausführliche Beschreibung *link* </p>
</span>
</div>
<div style="position: absolute; left: 355px; top: 0px; right: 0px; width:100px; margin:0px 5px 0px 5px;">
<span>
<!-- Artikelnummern und Verfügbarkeit-->
<p>Artikelnummer </p>
<p>Herstellernummer</p>
<p>Verfügbarkeit </p>
</span>
<br><br><br><br>
<span>
<!-- Preis-->
<h3>Preis alt</h3>
<h2>Preis neu</h2>
</span>
<span>
<!-- Warenkorb & Kasse-->
<h1>Warenkorb Anz. Kasse</h1>
</span>
</div>
</div>
<!-- Ende Artikel -->
Soderle, die entsprechende ID-Formatierung schaut so aus:
#artikel{
background-color:#e1e1e1;
color:black;
margin:5px 5px; 5px; 5px;
font:12px verdana, sans-serif;
text-align:top
text-align:left;
}
#artikel p{
color:black;
margin:5px 5px; 5px; 5px;
font: 9px verdana, sans-serif;
text-align:left;
}
#artikel h1{
color:black;
margin:5px 5px; 5px; 5px;
font: 12px verdana, sans-serif;
text-align:left;
text-align:bottom;
}
#artikel h2{
color:black;
margin:5px 5px; 5px; 5px;
font:bold 16px verdana, sans-serif;
text-align:left;
text-align:bottom;
}
#artikel h3{
color:#FF0000;
margin:5px 5px; 5px; 5px;
font:bold 14px verdana, sans-serif;
text-decoration:line-through;
text-align:bottom;
}
Jemand eine Idee, was ich da falsch gemacht habe? Lach, ich steig da nicht so ganz durch, was ich mir da zurechtwurste. Ich hau das übrigens händisch in den Editor rein.