table td height

Y

Yang

how to change the table td height and make it smaller than the default?

right now it works to make it bigger but not smaller:

<table><tr><td height=5>&nbsp;</td></tr></table>

I just want to make it look like a skip line with a different color.

Thanx
 
A

Adrienne

how to change the table td height and make it smaller than the default?

right now it works to make it bigger but not smaller:

<table><tr><td height=5>&nbsp;</td></tr></table>

I just want to make it look like a skip line with a different color.

Thanx

My crystal ball says you're abusing tables. Tables should be used for
tabular data, not for positioning of elements.

Use CSS for presenation. If you need a tutorial,
<http://www.w3schools.com/css/> is a good place to start.
 
L

Lauri Raittila

how to change the table td height and make it smaller than the default?

By having content that is not too high in it.
right now it works to make it bigger but not smaller:

<table><tr><td height=5>&nbsp;</td></tr></table>

I just want to make it look like a skip line with a different color.

What exactly you are after? If your thing is not tabular data, it is much
easier to use something else than table. If it is tabular data, it
depends a lot on what exactly are you trying to do. If you can use
collapsing border model and tbody aka. table-row-group, then it is not
too hard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top