Paul,

on Wednesday, August 2, 2006 at 16:36 [email protected] wrote:

> Surprisingly, I can't seem to find any information on this. The
> XHTML Strict doctype I am using seems to put a space between images.

There is nothing wrong with this behaviour. The img-tag is an inline
element. If placed in a paragraph, an image should align with the
baseline of the text (display:inline). If placed outside of
"text-containers" you'll probably prefer to see no space under the
image, to achieve this you've got to change the the formatting to
display:block. In the transitional doctypes the browser tries to
detect what you prefer.

You may take a look at:

http://www.w3.org/TR/html4/struct/objects.html
http://www.w3.org/TR/CSS21/visuren.html#box-gen
http://www.w3.org/TR/CSS21/visuren.html#normal-flow

regards

  Martin

 





******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to