HTML line spacing

Hi,

Please look at http://rkassoc.org/FWLSCO/tbl_test.htm

I want the table rows single spaced; I see no reason why they double space.

How can I fix that?
Richard KortsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GaryConnect With a Mentor Commented:
Add to your css

td {
    padding: 0;
}
0
 
teodor bircaCommented:
you want to remove cellpadding="2"

http://www.w3schools.com/tags/att_table_cellpadding.asp
0
 
Richard KortsAuthor Commented:
To Cathal

It's better, but there is still horizontal spacing I don't want.
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
Richard KortsAuthor Commented:
To all,

table cellpadding removed, css added.

Still extra horiz line spacing.
0
 
GaryConnect With a Mentor Commented:
Add to your table/s
cellspacing="0"

Why are you using nested tables?
0
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
Using <table width="100%" class="pt12"> leaves you with the default margins and padding which vary from browser to browser.  You might be better off putting a CSS reset code at the top of your CSS which is used to set everything to 0.  The classic one from Eric Meyer is available on his web site: http://meyerweb.com/eric/tools/css/reset/   After the reset code you define the CSS attributes you actually want.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.