Nested datalists and width property of TD

S

schapopa

I have two nested datalists and I am using percentage to make the width
of the row:
So my header of the parent datalist looks like this...

<table><tr>
<td width = 5%> <td width = 12%>
<td width = 16%>
<td width = 16%>
<td width = 12%>
<td width = 5%>
<td width = 5%>
<td width = 9%>
<td width = 20%>
</tr></table>

then
I have header template:
and first column belongs to parent datalist and have width = 5% and
second column belong to childdatalist and have width = 95%. Now in my
child I was trying to match width of the columns by calculating:
2nd column width = (12/0.95)% = aprrox. 12.6%
etc...

Somehow headers and items cells don't match. Does anybod has an idea how
can I achieve that my headers and items borders match?

Regards
Arek
 

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

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top