HTML question

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

Is it possible to create 'text box'

I mean an area of: an image + an underlying caption
And lay them as text (one after the other), like that:

+-----+ +-----+
| Pic1 | | Pic2 | ..... etc .....
+------+ +-----+
caption caption


I would like to avoid table as the pic could have various size and,
depending on the pic, I might be able to fit an (unknown) variable number of
(Pic + Caption) per row...
 
It can be done with divs (Panels) and possibly spans (Labels). You would
have to use CSS for positioning.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.
 
investigating that....
but I have difficulties getting what I want (absolut positioning is less
than perfect)

I manage to get something by grouping each 'cells' (image+caption) in a
tabel and apply the attribute 'align=left' on the table, like that
============
<table onclick="javascript:alert('Clicked!')" align=left>
<tr align=center valign=bottom><td><img src='bleu.jpg' width='256'
height='256' alt='image' /></td></tr>
<tr align=center valign=top><td>Caption</td></tr>
</table>
============
However if I have too many of them in a row, there is no line return,
instead they keep adding on the same row...

Mhh.....
I think I will use 2 table for predefined image size, and simply put them
one below the other for unsized image....


but if I have to use absolute positiong that would be dificult
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top