Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 11-01-2005, 03:25 AM   #1
Join Date: Jun 2005
Posts: 71

I've heard it time and time again... "oh, don't use layers, they will mess up your pages big time." Or "stick with tables and CSS."

But really, are there concrete reasons why I should stay away from doing my page layouts in Dreamweaver using layers? They seem pretty cool and an easy way to graphically place content. Are there browser compatibility issues or something?

If someone could provide some concrete reasons, I'd love to hear them, thanks...

We Are 138
We Are 138
likegluelikecrew is offline   Reply With Quote
Old 11-01-2005, 09:59 AM   #2
davidj's Avatar
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256

i am not by any means a CSS - layer guru but here is my take on it

it boils down to control over design

layers or <div>'s were developed as a replacement for table layouts
You dont have much in the way of layout options when dealing with tables but with layers (<div>'s) you have pixel Precision. Layers can overlap (float) or be rigid like a table.

There are somethings to take on board. To emulate a complex table structure in a <div> layout may take more time to get it the way you want it and then you have cross browser issues.

It seems there is allot of developers jumping from tables to layers due to the control they now have over layouts
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 11-02-2005, 09:43 PM   #3
Join Date: Jun 2005
Posts: 94

The fact is USE BOTH. There are very good reasons for using both layers and tables. Any one who says different is completely wrong. Keep an open mind be very creative and never limit yourself to one style.

As we say in the movie business. you are the feature bring that out in hat ever form you use.

dreamlynx is offline   Reply With Quote
Old 11-02-2005, 10:02 PM   #4
domedia's Avatar
Join Date: Dec 2003
Posts: 9,730

Originally Posted by dreamlynx
Any one who says different is completely wrong. Keep an open mind
domedia is offline   Reply With Quote
Old 11-02-2005, 10:51 PM   #5
gmcrone's Avatar
Join Date: May 2004
Location: Canada
Posts: 519

According to the W3C there is no tag called "layer"

A layer is just a container for CSS properties.

A "layer" can be a div, a span, an H1, etc...

Dreamweaver incorrectly labels a "layer" as a div

(sorry, had to get that off my chest)

CSS layers control the layout or presentation of the page
HTML/XHTML is the semantic markup of the page.

Tables are still valid markup but should be used for what they were intended for, which is the presentation of tabular data.

The future is CSS. The W3C has stopped creating any new HTML recommendations and has gone with XHTML.
Your pages, if written in the current recommendations, will be more compatable with the next generation browsers and current ones.


gmcrone is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com