Tables v's Layers

Discussion in 'CSS' started by ANDYJH, Mar 9, 2008.

  1. #1
    Hi

    Which is better regarding css? Tables or Layers (using APDIV tags), and why.

    It is just an information website i am building

    Thanks

    Andy
     
    ANDYJH, Mar 9, 2008 IP
  2. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #2
    Tables. Much faster to load, more widely supported, and even Dreamweaver can't screw them up.
     
    blueparukia, Mar 9, 2008 IP
  3. ANDYJH

    ANDYJH Guest

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks - Just what i was thinking
     
    ANDYJH, Mar 9, 2008 IP
  4. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hmmm, I guess I'd agree too if those are the only two choices. Absolute positioning makes your page very brittle-- tables can grow and flow to acommodate the content. However, depending on how you present the information, "normal" divs using document flow can be more flexible design-wise (meaning, once you write the HTML and you decide later on to change the design, tables are very difficult to change, whereas a div called "sidebar" can be moved anywhere on the page).
     
    Stomme poes, Mar 9, 2008 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    You know, EVERY time I hear 'layers' I keep thinking people are talking about Nyetscape 4

    My answer is akin to Stomme - because the answer for most situations is NEITHER... But then I consider using dreamweaver (which is what I'm assuming you mean by APDIV and layers) for anything to be a total /FAIL/ at intarweb in the first place. Do yourself a favor and chuck that steaming pile of bloated CRAP in the trash, and learn to code PROPERLY without that overpriced crutch.

    The only thing one can learn from Dreamweaver is how NOT to code a website.
     
    deathshadow, Mar 9, 2008 IP
  6. dzdrazil

    dzdrazil Peon

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    are any other programs available that color-code the tags and such? granted, the dreamweaver templates, widgets, design-view and pretty much everything else is trash, but the color coding is so handy for someone who doesn't professionally code (i.e. its a hobby, not a job)
     
    dzdrazil, Mar 10, 2008 IP
  7. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I used to use Dreamweaver Design view when i started big mistake because i thought the only way to position things were by layers, until i came accross this site!

    Now i only use Dreamweaver code view, dzdrazil i don't think there are any problems with this it is very handy as it gives you possible options and also colours the code as you stated. As far as im aware it is fine. However some hardcore coders use notepad which is a great skill, but for me Dreamweaver code view for now :)
     
    wd_2k6, Mar 10, 2008 IP
  8. dzdrazil

    dzdrazil Peon

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    well, i don't have an inexpensive option for getting dreamweaver beyond its 30-day trial. just curious if anything else has the color-coding... sorry if this is off topic!
     
    dzdrazil, Mar 10, 2008 IP
  9. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #9
    dz, you're in luck-- almost every Notepad rip-off that comes with any OS has the colour option. Even vi in the terminal (default in Knoppix).

    I think Notepad itself is one of the few that doesn't. You could use Notepad++, EditPlus, gEdit, Kate/KWrite... I dunno any Mac programmes, but they've also got their editors.

    : )
     
    Stomme poes, Mar 10, 2008 IP
  10. dzdrazil

    dzdrazil Peon

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    danke! this makes life much simpler for the lay coder such as myself :D
     
    dzdrazil, Mar 11, 2008 IP