Results 1 to 3 of 3

Thread: two-column divs? and using css instead of tables...

  1. #1
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default two-column divs? and using css instead of tables...

    I have seen a lot that tables are a bad thing to use for layout.
    Well... great.
    What's your suggestion?

    The only thing I can figure out to use to seperate two section on one line is to use cells in a table. Divs like to jump down to the next line, and that's about it.

    If you want to get into something more complex, try this:
    http://thebrb.com/stockpile

    That's a complex php-based script that dynamically gets content from a database. However, at the end it simply puts the $content variable into the preexisting html, and outputs that.

    How would you recreate that identically, without using tables?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Floats or absolute positioning. The usual two-column approach. I might have made an effort to use text rather than an image map for the left-hand side, though.

    Mike

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I wanted control over the font/position so it fit in every browser (you need image support to have any use for the site anyway).

    Really, I'm just curious. Doesn't seem that worth it to fix all of that. It's a pretty complex table.

    Is there any particular reason I should?

    I'm not too familiar with why tables are bad, just that it seems to be a common thing to say they are.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •