Layer VS Tables in Dreamweaver

Discussion in 'HTML & Website Design' started by vivek_master146, Aug 16, 2009.

  1. #1
    The main trouble when designing a page is placing images, texts etc.

    I find Layers in Dream weaver the easiest method than tables. Should i prefer tables over layers ? Is tables better for SEO ?

    Why Firefox and IE shows different result(position) when using layers ?
     
    vivek_master146, Aug 16, 2009 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should not use tables or layers when it comes to positioning elements on a page. Hence why you are getting browser compatability problems.

    Just use floats, margins and paddings in a clever way and you can get any element to appear where you wish.
     
    wd_2k6, Aug 16, 2009 IP
  3. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #3
    I'm with wd_2k6 on this matter. Use table only for tabular data.

    For web designing, use CSS. The future of the web is CSS and not tables, so you should start learning it now. ;)

    - Dynashox -
     
    dynashox, Aug 16, 2009 IP
  4. gcameo

    gcameo Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Always seperate your markup from your styles. Apart from the common advantage that they dont clutter your coding, it is also a good practise for SEO. Also you can easily change styles without having to change content. These are general good coding practises.
     
    gcameo, Aug 16, 2009 IP
  5. jamessy

    jamessy Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Go with Div's. try and break down your design into blocks and then positions them with float:left/ right etc.
    If you getting different positions from i.e to firefox try setting all your elements to 0 by adding this to the top of your css. *{ padding:0px;margin0px; }.
     
    jamessy, Aug 16, 2009 IP
  6. nthayer

    nthayer Member

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #6
    Layers are more easily.. tested !
     
    nthayer, Aug 16, 2009 IP
  7. hostinghelp24

    hostinghelp24 Banned

    Messages:
    427
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I think using CSS for designing any website is the best way for designing any website.
     
    hostinghelp24, Aug 16, 2009 IP