Forum Moderators: mack

Message Too Old, No Replies

Image Spacing Within Table Row

<a>,</a>

         

JimLH

9:43 pm on Jan 28, 2007 (gmt 0)

10+ Year Member



Hello,
I am building a one page website: Windows XP,
Front Page 2003. I used TABLES,and inserted
images in a particular row, The 5 images were
nicely spaced with the anchor tags, but lo,when
I previewed.The 5 images were all on the left
side of the row, un-spaced. Sixty percent of
the row was left empty.
Your advice would be appreciated.JimLH

mattcg

11:20 pm on Jan 28, 2007 (gmt 0)

10+ Year Member



Jim,

Make sure that the row that contains the images has its align attribute set to "center" e.g. <td align="center">.

Use the hspace and vspace attributes to pad the images with blank space e.g. <img src="dog.jpg" hspace="10" vspace="5">.

wolfadeus

11:20 pm on Jan 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am not sure if I understand your question, but if you want to define the spacing, try to make the individual cells smaller than the images and use:

cellspacing="000px"
cellpadding="000px"

Ared

6:08 am on Feb 10, 2007 (gmt 0)

10+ Year Member



you can also fix the alignment of all images in one table.
example: <tr><div align="center">example.jpg</tr></div>

thanks
<snip>

[edited by: engine at 9:24 am (utc) on Feb. 10, 2007]
[edit reason] See TOS [webmasterworld.com] [/edit]