[thelist] Not using tables for layout

Stephen Rider evolt_org at striderweb.com
Fri Jun 25 11:34:20 CDT 2004


It would probably help if we could see the page, as CSS usually 
requires us to rethink the "context" of the page you're working on.

You probably won't get _precisely_ the same appearance using CSS as 
using table hacks, but you can at least get something similar, and 
perhaps better!

That being said, as your rows don't have any vertical overlaps with 
other rows, you might nest divs so that you have large divs...

------------------------------------
=                                  =
=                                  =
=                                  =
------------------------------------
=                                  =
=                                  =
=                                  =
------------------------------------
=                                  =
=                                  =
=                                  =
------------------------------------

with divs inside them:

------------------------------------
=  ------------------------------  =
=  |        |                   |  =
=  |        |                   |  =
=  ------------------------------  =
------------------------------------
=  ------------------------------  =
=  |        |         |         |  =
=  |        |         |         |  =
=  ------------------------------  =
------------------------------------
=  ------------------------------  =
=  |        |         |         |  =
=  |        |         |         |  =
=  ------------------------------  =
------------------------------------

Whether this looks right or not really depends on what the content is, 
so again, a quick peek will probably get you a better/faster answer.

OR if this works, run with it :)

Steve


On Jun 25, 2004, at 10:58 AM, chris at martiantechnologies.com wrote:

> Joel
>
>> Quoting "chris at martiantechnologies.com" 
>> <chris at martiantechnologies.com>:
>>> If I can achieve this quickly and easily I will move away from the 
>>> use of
>>> tables for presentation, but at the moment it appears that 
>>> table-based
>>> presentation is the only means to achieve what is required by my 
>>> paymasters.
>>
>> Not sure if this is what you're looking for, but CSS has overflow 
>> rules.
>> "overflow: auto" should put a scrollbar on your div (or td) so the 
>> content
>> won't push the boundary.
>



More information about the thelist mailing list