Converting tables to DIV & SPAN

Converting tables to DIV & SPAN

am 25.01.2008 21:04:51 von plenty900

Hi folks,

Can someone show me how to convert this to div/span format?










1
2

3


Is there a good tutorial on how to convert a table-based
layout to DIVs and SPANs?

Thanks.

Re: Converting tables to DIV & SPAN

am 25.01.2008 21:29:09 von dorayme

In article
<7926f454-a756-48b4-b9e0-d0decf543027@h11g2000prf.googlegroups.co
m>,
plenty900@yahoo.com wrote:

> Hi folks,
>
> Can someone show me how to convert this to div/span format?
>
>


>
>
>
>
>

>
>
>
>
1
2

>
3

>
> Is there a good tutorial on how to convert a table-based
> layout to DIVs and SPANs?
>

No, there are no tutorials on this specifically. Nor could there
be because it is not one manageable and specific problem. There
might not be too many manuals on how to rebuild cities all in one
go and quickly either.

I suggest you supply a rather more realistic case of a table
based layout that you have worked on and how you wish something
to appear to many people.

If you really want to know how to make a 1 appear on the left, a
2 underneath and a 3 way to the right, it is not too hard without
tables.

1
2

3


But how useful will this be to you?

--
dorayme

Re: Converting tables to DIV & SPAN

am 25.01.2008 23:59:24 von Bergamot

plenty900@yahoo.com wrote:
>
> Can someone show me how to convert this to div/span format?

You're asking the wrong question.

> Is there a good tutorial on how to convert a table-based
> layout to DIVs and SPANs?

There's a lot more to it than div and span. Get some understanding of
semantics and you'll have a much better site. You might start here:
http://microformats.org/wiki/posh

--
Berg

Re: Converting tables to DIV & SPAN

am 26.01.2008 04:20:29 von jeff

plenty900@yahoo.com wrote:
> Hi folks,
>
> Can someone show me how to convert this to div/span format?
>
>


>
>
>
>
>

>
>
>
>
1
2

>
3

>

Styles shown inline, you'll want to put them in your stylesheet instead.



1

2


3


There's other ways of doing that.


> Is there a good tutorial on how to convert a table-based
> layout to DIVs and SPANs?

Doesn't appear to be. There's lots of bits and pieces here and
there. The biggest problem is doing the equivalent of equal height
columns. You'll see some resources on this though as techniques are
being worked out. Search the archives and you'll find several different
ways of doing that.

Note that all a div is, is an empty block level element, and all a
span is, is an empty inline element. It's how you style them that makes
the difference.

Jeff


>
> Thanks.