SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Oct 2, 2007, 00:34 #1
- Join Date
- Nov 2005
- Location
- The Netherlands
- Posts
- 808
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Mysterious bottom-margin on images
Hi,
I've run into this problem lots of times now, and it's starting to bug me. Most of the time it's not that big a deal, but there should nevertheless be something that can be done about it.
Inline images always come with a mysterious bottom margin, that seems impossible to remove. As if there's a permanent BR element right after 'em.
Here's an example; http://www.whatstyle.net/bla/imgmargin.html.
Does someone know a solution to this problem?
-
Oct 2, 2007, 00:40 #2
- Join Date
- Jun 2007
- Posts
- 7
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
img {
display: block;
}
-
Oct 2, 2007, 00:52 #3
- Join Date
- Nov 2005
- Location
- The Netherlands
- Posts
- 808
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Really that simple, eh?
Thanks
Bookmarks