Hello everyBody
I’ve created a slideShow (with left and right arrows) , displaying images in three set, images are aligned horizontally, and every image is contained in a li element with a link (headline) as follows:
<li><image src="image_n.jpg"></image><a href="www.google.com">Google search engine</a></li>
ok my question is , how can I put the headerline (“a” tag) so it covers the bottom of the image using css.
thank you
I’d use a combination of
display: blockand either a negative top margin orposition: relativeand a negativetop.or
I’m using
emas a unit because 1em is equal to the font size. This means thatmargin-top: -1.1emwill be (approximately) a little bit more than the height of one line of text.