Solved

HTML line spacing

Posted on 2014-01-27
6
207 Views
Last Modified: 2014-01-27
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?
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 400 total points
ID: 39813714
Add to your css

td {
    padding: 0;
}
0
 
LVL 3

Expert Comment

by:teodor birca
ID: 39813733
you want to remove cellpadding="2"

http://www.w3schools.com/tags/att_table_cellpadding.asp
0
 

Author Comment

by:Richard Korts
ID: 39813735
To Cathal

It's better, but there is still horizontal spacing I don't want.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Richard Korts
ID: 39813748
To all,

table cellpadding removed, css added.

Still extra horiz line spacing.
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 400 total points
ID: 39813751
Add to your table/s
cellspacing="0"

Why are you using nested tables?
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 100 total points
ID: 39813776
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question