FREEPAGES-ADVANCED-L Archives

Archiver > FREEPAGES-ADVANCED > 2001-04 > 0987261544


From: "Rick Parsons" <>
Subject: [FreepAdvance] Complex HTML / CSS questions
Date: Sat, 14 Apr 2001 16:19:04 +0100


In many books and magazines, it is quite common to have an insert picture to
the left or right of the page with the text flowing around. I know I can
achieve this with

<IMG style="float: left" ... > or right as required.

However I have two additional requirements.

1) I would like to put a caption on the picture. I have tries all sorts of
DIV and SPAN combinations but the former breaks the current paragraph text
and the latter does not seem to work quite as expected. The best I have
managed is

<SPAN style="float: left"><IMG ...><BR />Caption Text</SPAN>

this does the job except that the caption is not centred under the picture
and attempts to do this, and also change the font, with another embedded
SPAN always fail.

2) I would like to do a similar thing but with the picture central. I don't
need to flow the text around both sides (I have seen magazines that do this
and they look daft) but I do want the text to continue to the end of the
line, break for the picture, and restart again afterwards. All my attempts
break the line in the middle.

Any ideas anyone?

Cheers,
Rick Parsons

OPC: St. Ives & Towednack
R E N O W D E N One Name Study
West Penwith Resources http://west-penwith.cornwall.eu.org/
EMail: mailto:
Web Site: http://www.parsons1998.freeserve.co.uk/
Mail: 18, Brighton Road, Redland, Bristol BS6 6NT, England.
Tel: +(44) 117 974 1288



This thread: