I want to replace a table and use divs instead.
I have a table like this:
<TABLE width='100%'>
<TR
<TD WIDTH='32%'>some text
</TD>
<TD WIDTH='36%'>sometext
</TD>
<TD>
</TD WIDTH='32%'>some text
</TABLE>
now I have to put three divs instead of three tds. But how do I find the left position for the second and third divs? since the widths here are percentage.It is not about using "divs" instead of "table" but replacing an HTML tag soup with semantically meaningful markup Originally posted by Vladdy
It is not about using "divs" instead of "table" but replaceing an HTML tag soup with semantically meaningful markup
well, ok
so I change my question
Hey everybody
I want to replace an HTML tag soup with semantically meaningfull markup but during the process I got stuck where I wanted to remove a table and put divs instead. Could somebody help me out? (please take a look at first reply)
Thanks.<!-- m --><a class="postlink" href="http://www.vladdy.net/Demos/ElementSizing.htmlThanks">http://www.vladdy.net/Demos/ElementSizing.htmlThanks</a><!-- m --> Vladdy.
I have a table like this:
<TABLE width='100%'>
<TR
<TD WIDTH='32%'>some text
</TD>
<TD WIDTH='36%'>sometext
</TD>
<TD>
</TD WIDTH='32%'>some text
</TABLE>
now I have to put three divs instead of three tds. But how do I find the left position for the second and third divs? since the widths here are percentage.It is not about using "divs" instead of "table" but replacing an HTML tag soup with semantically meaningful markup Originally posted by Vladdy
It is not about using "divs" instead of "table" but replaceing an HTML tag soup with semantically meaningful markup
well, ok
so I change my question
Hey everybody
I want to replace an HTML tag soup with semantically meaningfull markup but during the process I got stuck where I wanted to remove a table and put divs instead. Could somebody help me out? (please take a look at first reply)
Thanks.<!-- m --><a class="postlink" href="http://www.vladdy.net/Demos/ElementSizing.htmlThanks">http://www.vladdy.net/Demos/ElementSizing.htmlThanks</a><!-- m --> Vladdy.