"on page layout" Topic
All members in good standing are free to post here. Opinions expressed here are solely those of the posters, and have not been cleared with nor are they endorsed by The Miniatures Page.
For more information, see the TMP FAQ.
Back to the Webmasters Plus Board
|jgawne ||12 Jul 2010 5:08 p.m. PST|
So I finally decided to try and put a few chapters of my (heavily illustrated) book on the US Army in WW1 on the web, and have run into a quandry.
There are normally about 2 or photos or other graphics (maps, etc.) per page (The style I have done a few printed books in). Now while there is no problem wrapping the text, I cannot for the life of me figure a reasonable way to have a caption to the photo on a basic web layout.
I suppose I could make a two cell table where I wanted it- one for the photo- the other for the caption, but then I can't flow the text around it.
I considered something like having the caqptiona ppear when you moused over the image, which is kind of cool but I can't make it work.
Am I missing something?
|napthyme ||12 Jul 2010 6:01 p.m. PST|
its been ages since I tried to do one by hand, but if I remember right there is a <tag> or <alt> code you add in with the pictures for alt text to appear with each mouse over.
I used an HTML book for dummies which explained all of that in easy detail.
|Ran The Cid||13 Jul 2010 5:48 a.m. PST|
Can you wrap the photo and the caption text in the same div? Then let the text flow around the div?
Populating the alt text in the photo description should pop up the text on mouse over, but that function might be browser dependent. I'm sure there is a jquery code set that would accomplish the pop up for all browsers.
|SpaceCudet ||13 Jul 2010 6:34 a.m. PST|
<div style="float:right"><img src="" width="200" height="200" />
<span style="font-weight:bold">A nice caption</span>
| RavenscraftCybernetics ||13 Jul 2010 7:08 a.m. PST|
Or you edit the photos to include the captions. then they layout wont matter