Log in

View Full Version : Tightening Tables..



pencil2print
01-31-2010, 05:46 PM
Hi all,

I am working with tables, and on the site I am working on:
http://pencil2print.net/doctor/bulbs.html

The first table box appears to be spaced too wide, height wise, compared to the other tables.

I can't figure out how to tighten up the cells so there isnt a gap below and above the type? (make it one line, instead of 3 lines?)

I hope this makes sense.. I want to shorten the table so there's no gaps in the cells..

help?

Nile
02-01-2010, 03:19 AM
Delete the 'cellpadding' attribute.

Good luck.

tpravioti
02-01-2010, 10:43 AM
try to set the cellpadding and cellspacing attributes(of table) to zero(0)

Jeremy Ross
02-01-2010, 11:14 AM
The reason for the extra spacing below the text is because of the <p> tag inside your table cells, remove this and your tables should be fine.

Example:


<p class="MsoNormal"><font face="Arial" size="3">52 Fire Fighting Car</font></p>


Should become:



52 Fire Fighting Car


Also control font styles with CSS for better updating.

pencil2print
02-01-2010, 02:13 PM
thanks, I'll try that