1
basil
Images side by side in News Module - how?????
  • 2005/4/1 0:54

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


Hi
I'm using the standard news module, but using Imago6 theme.

I'd like to put 2 or 3 images into a news story, with captions below them. I'd like the images to go across the page.

I used code similar to this to caption my images:
<dl>
<dt>
<img src=abc.jpg>
</dt>
<dd>
1. Caption for image.
</dd>
<dt>
<img src=def.jpg>
</dt>

<dd>
2. Caption for image.
</dd>
<dt>
<img src=ghi.jpg>
</dt>
<dd>
3. Caption for image.
</dd>

</dl>
This inserts the images, but they go down the page. My images are only 118 px wide - screen resolution is 1024 x 768.
Any ideas on how to solve this problem?

Basil

2
m0nty
Re: Images side by side in News Module - how?????
  • 2005/4/1 1:09

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


simple html

or use the image manager

<table align="center"><tr><td width="118" align="center"><img src="abc.jpg"></td><td width="118" align="center"><img src="def.jpg"></td><td width="118" align="center"><img src="ghi.jpg"></td></tr><tr><td width="118" align="center">1. Caption for image.</td><td width="118" align="center">2. Caption for image.</td><td width="118" align="center">3. Caption for image.</td></tr></table>


or u could use divs instead of tables..

note i've done it all on 1 line with no gaps because the parser in the modules doesn't like whitespaces and pushes the tables down the page..