GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Even spaccing between thumbs in a table? (https://gfy.com/showthread.php?t=248328)

Juicy D. Links 03-06-2004 03:38 PM

Even spaccing between thumbs in a table?
 
Cellpadding = 0 and cellspacing =o ?


I have issues:helpme

baddog 03-06-2004 03:40 PM

I hate that stuff myself . . . if you hit me up on ICQ I can send you a template that you can use

Juicy D. Links 03-06-2004 03:43 PM

auth me :Graucho

Jer 03-06-2004 03:44 PM

If you post the URL here I'll to try help ya

ZoiNk 03-06-2004 03:45 PM

just use td width of like 20% for each one if you have 5 thumbs, 25% for 4, etc. Makes them nicely spaced out if they are all the same size thumbs.
ZoiNk

stocktrader23 03-06-2004 03:46 PM

div?

Dynamix 03-06-2004 03:47 PM

use a spacer image inbetween each thumb, and align them in the center of the table cell.

(td valign=top align=left)
(img src="thumb.gif" width=90 height=120)
(img src="spacer.gif" width=3 height=120)

spacer.gif should be a transparent gif 1px x 1px.

works for me in my designs..:thumbsup

sake 03-06-2004 03:48 PM

cellspacing = 2

Jer 03-06-2004 03:50 PM

I'm not sure what you need, Juicy, but would this work?

(img src="" hspace="2" vspace="2")

horizontal and vertical space

Coyote 03-06-2004 03:59 PM

It depends on whether you want the table to resize or remain a fixed width.

Let's say you have six columns and x number of rows. You want the six columns to remain a consistent width regardless of image orientation, then do this,

6 cols to fit is 16% each and the table resulting width = 96%

The easiest way to do this is to set the width on a blank header row, then start your normal table rows with images in each of the 6 cells. Using a header allows your property settings to affect the entire column.

Having a fixed width table will require you to manually compute the width of each header cell for the width of the table based on the unit of measure you use, px, pt, in, etc. If your table width is ~ 500px, then your cell width will be 83px, resulting in a table width = 498px.

This is assuming you have no border, spacing, or padding set for the table. If you have any of these properties set, then the box model will change.

Hope that helps.


All times are GMT -7. The time now is 09:30 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123