I really don't see the point of creating a table using div's,
nevertheless....

I would use only nested div's:
<div id="tablename">
   <div id="row1">
       <div id="row1td1"></div>
       <div id="row1td2"></div>
       <div id="row1td3"></div>
   </div>
   <div id="row2">
       <div id="row2td1"></div>
       <div id="row2td2"></div>
   </div>
...etc...
</div>

Css would float all of them to the left(for ex.)

div#tablename div{float:left;}

As far as I know you can't change the width of a span tag. But you can just
try it for yourself.

My advice: if you need a table just use <table>. For the rest of the
information use div's and lot's of css.

Tiago

On 11/17/06, cdg1111us <[EMAIL PROTECTED]> wrote:
>
>   Basically you want to replace table <TR> tags with <DIV> and <TD> tags
> with <SPAN> (obviously no need for the <TABLE> anymore) to achieve the
> effect you're looking for. Set the width of the span tags in your CSS
> and assign all spans you want the same width to the same class. HTH!
>
> --- In [email protected] <php_mysql%40yahoogroups.com>,
> "Jagadheesh M." <[EMAIL PROTECTED]> wrote:
> >
> > hi all,How to draw tables using div and css? if we draw a table
> using diva and css, is there any attachment between all the rows?
> Means, When the width of the first column of first row
> increases,&nbsp; will the the first column of next row increase? how
> can i achieve this?Thanks.anbudan,-Jag.
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>  
>


[Non-text portions of this message have been removed]

Reply via email to