#1
Hey guys, it has been a long time.

A quick question. I have a linked image (image with a link in it) and I want to position it.
I can position it horizontally, but not vertically.

CSS-code
{left: 405px;
is no problem. But
top: 170 px;}
does position the image, but it's not a link anymore.

Any thoughts?
#2
There are many ways to position an item, so you'll have to be more specific (and the actual code would be helpful). The way you have it there would require a position property in the css code before it (http://www.w3schools.com/cssref/pr_class_position.asp ). If you want it to flow around text use the float property, then adjust the margins to fit the way you want.

Edit: For example, this would move the link (and the img) 100px down and right of it's original spot on the page.

HTML:
<a href="whatever"><img src="whatever.jpg" /></a>

CSS:

a {
position: relative;
top: 100px;
left: 100px;
}
Last edited by samick007 at Apr 9, 2012,