September 16th, 2003, 08:55 PM
css: Why would border display around the margin
In all my experience with css, I've never had a border be displayed around the margin. The margin is always outside the border while the padding is inside the border.
What could possibly make it so that the margin is being displayed within the border?
This problem occurs in all browsers and can be seen around the first thumbnail of paintings near the bottom of the page:
September 16th, 2003, 09:35 PM
I believe that's being caused by the whitespace in your HTML source after the <img> and before the </a>. Wrap your image directly in the link.
<a href="foo.php"><img src="foo.jpg" /></a>
<!-- not -->
<img src="foo.jpg" />
Explain your problem instead of asking how to do what you decided was the solution.