- Original Message -
From: "Bert Doorn" <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 10:10 AM
xHTML:
caption text
CSS:
div.imgleft {
width: 200px; /* or whatever is appropriate */
float:left;
text-align:center;
}
div.imgleft img { display:block; }
Thanks Bert,
I tried
greetings,
> e.g. .imgleft{ float : left; margin : 20px;}
Doing this enables me to have the body of the text flowing around the image,
with a nice 20px gap around it. However, I would like to add a small
caption to the image, underneath it. One or more of you will have already
done this I'm sure
enter the ever popular definition list
caption
This gives you lots of flexibility and keeps it semantic.
Ted
-Original Message-
From: designer [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 12:55 PM
To: webstandards group
Subject: [WSG] image captions?
Hi all,
I am
Hi all,
I am putting a few small images into a body of text, and am defining a very
simple declaration for them, according to whether I want them flush left or
right:
e.g. .imgleft{ float : left; margin : 20px;}
Doing this enables me to have the body of the text flowing around the image,
with a