Jump to content
Sign in to follow this  
sbarrak

HTML table cell padding and cell spacing

Recommended Posts

sbarrak

Does anybody know how to decrease the space in between the two rows on an HTML table? Here is my table code - I have no border, spacing, or padding, yet there's still quite a bit of space in between the two rows on www.stephbarrak.com/music:

_Song _Listen
1. Oh Lo Lo test Lyrics
2. Painted Face test Lyrics

Share this post


Link to post
Share on other sites
Rob
Steph, you're using older HTML code which is likely to be overridden by contemporary CSS. See http://www.w3schools.com/css/css_table.asp for more contemporary table information, but also take a look at http://www.epicurus.com (view source code) to see how I applied styling directly to each table element. That lets me apply multiple tables to my page, each differently styled.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob
Oh, cellpadding and cellspacing are basically outdated, being replaced with padding and margins.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×