Home All Groups Group Topic Archive Search About
Author
20 Jan 2006 3:05 PM
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...

--
I have taken a vow of poverty. If you want to really piss me off, send me
money.

Author
20 Jan 2006 3:27 PM
Kevin Spencer
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.

Show quote
"Lloyd Dupont" <net.galador@ld> wrote in message
news:%23VC8zLdHGHA.3000@TK2MSFTNGP14.phx.gbl...
> 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...
>
> --
> I have taken a vow of poverty. If you want to really piss me off, send me
> money.
>
>
Author
21 Jan 2006 2:19 AM
Lloyd Dupont
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
Show quote
"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:OytW2XdHGHA.1032@TK2MSFTNGP12.phx.gbl...
> 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.
>
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:%23VC8zLdHGHA.3000@TK2MSFTNGP14.phx.gbl...
>> 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...
>>
>> --
>> I have taken a vow of poverty. If you want to really piss me off, send me
>> money.
>>
>>
>
>

AddThis Social Bookmark Button