How can I put a <div> in <td> ??

T

Terry

hi guys, could anyone help me with this?
I tried to put a <div> in a <td>, and a <table> in that <div>.
It looks fine, but my div can't fit in my <td>, there's always a space
between the bottom of the <div> and the bottom of the <td>. I try to
put margin-bottom:0 px to the <td>, <tr> also <table>, but there's
still a space there. I need the div fit in the <td> totally. Could any
one tell me how?
 
L

Lasse Reichstein Nielsen

I tried to put a <div> in a <td>, and a <table> in that <div>.

This is not a Javascript question. You should find a group that
discusses CSS.

Anyway, hints: Make sure there is no space or newline between <td> and
<div> and between </div> and </td>. Set padding on the <td> to 0.

/L
 

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,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top