steh grade mal wieder CS-mäßig auf dem Schlauch.
Ich möchte gerne mehrere Bilder nebeneinander in einem Div aufrufen.
Diese Bilder beeinhalten alle einen link.
der HTML-Code:
Das CSS:<div id="gal">
<a class="wmp" href="https://localhost/kam2/fotos-mittel/fla ... .jpg"><img src="fotos-mittel/flamme-fatale/1.jpg" alt="" width="136" height="150" /></a>
<a class="wmp" href="https://localhost/kam2/fotos-mittel/fla ... .jpg"><img src="fotos-mittel/flamme-fatale/3.jpg" alt="" width="145" height="150" /></a>
<a class="wmp" href="https://localhost/kam2/fotos-mittel/fla ... .jpg"><img src="fotos-mittel/flamme-fatale/2.jpg" alt="" width="171" height="150" /></a>
<a class="wmp" href="https://localhost/kam2/fotos-mittel/fla ... .jpg"><img class="image" src="fotos-mittel/flamme-fatale/5.jpg" alt="" width="140" height="150" /></a>
</div>
Code: Alles auswählen
#gal {
width:1000px;
}
#gal img {
padding:10px;
border:1px solid #000000;
background:#ECE7D7;
display: inline;
}
Sie stehen amlinken rand der seite untereinander stat nebeneinander.
Kann mir mal jemand auf die sprünge helfen?
Bin schon eine Weile am rumprobieren.
Gruss axel