hi there...
i have found this article on the net:
http://stackoverflow.com/questions/2...-list-or-a-div
as you can see they work with line-height and vertical-align to vertically center an image inside ul/li tags in a div... now this works cool, but.....
if you also have an a(link)-tag before the image, not only the image (exact border) is a hyperlink, instead the whole line-height area is the link..
now what i need is a vertical-center but the link should be wraped exactly around the img tag and not for the whole line-height defined space...
i hope you do understand what i mean!
thx for any help !!!
btw here is the css for my div (which is also centered to the middle of the page):
this is the css for the ul/liCode:width: 100%; height: 400px; position: absolute; top: 50%; margin-top: -200px; white-space: nowrap; z-index: 1;
and thats the img inside ul/liCode:line-height: 400px;
Code:vertical-align: middle;
plz help me!!!



Reply With Quote
Bookmarks