logo-dw

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

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

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, 08:59 AM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

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, 08:43 PM   #3
dreamlynx
Banned
 
Join Date: Jun 2005
Posts: 94
Default

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.

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

Quote:
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, 09:51 PM   #5
gmcrone
gmcrone's Avatar
 
Join Date: May 2004
Location: Canada
Posts: 519
Default

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.

Mike....




gmcrone is offline   Reply With Quote
Reply


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 12:07 AM.


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