Hi everyone
I tried since days to set a text over the last image in a slideshow. I mean using a content block over the last image, but no text over the first ones…
The text in the code below is shown on e v e r y image, and the text is b e h i n d the images instead of only on the l a s t image and i n f r o n t of the image.
Could anyone help me? I’m really lost. Thank you very much.
HTML:
<div id="p3" class="pic" img src="IMG_Text.jpg">
<div class="text-block">
<br/>
In Zusammenarbeit mit:<br/>
Architekturbüro:
Zürich<br/>
Landschaftsarchitektur:
<br/>
</div>
CSS:
#p3 { }
.text-block { margin: 0px 0 0 400px; color: red; letter-spacing: 2px; text-align: left;}
.pic { display: block; position: absolute; }