SitePoint Sponsor |
|
User Tag List
Results 1 to 14 of 14
Thread: Tables or Layers??
-
Nov 11, 2000, 19:26 #1
- Join Date
- Nov 2000
- Posts
- 10
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm using Dreamweaver 3, and my big question is: should i use tables or layers to layout my site? I know that using tables can be a pain in the *** to get it right, although... my concern with using layers is that it just won't look good in Netscape.
So do i go with tables, or try out layers?
-
Nov 11, 2000, 19:30 #2
- Join Date
- Jul 2000
- Location
- 80,000 feet below the surface
- Posts
- 1,442
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm currently tangling with DW3, and I could have sworn I saw a feature somewhere which allows you to convert layers to tables for maximum backwards compatibility. It should be in one of the first 3 menus up the top
The best suggestion is to use tables anyway, because layers are nice, but as you said yourself, they won't necessarily show properly in Netsheet... err.. Netscape... Tables are a pain, but they're essential.
-
Nov 11, 2000, 19:45 #3
- Join Date
- Jul 2000
- Location
- Dublin , Ireland
- Posts
- 1,271
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
while we are talking about layers what settings do you have to give them to work properly in netscape and not overlap each other
Back Again
-
Nov 11, 2000, 19:53 #4
-
Nov 12, 2000, 20:10 #5
- Join Date
- Aug 2000
- Location
- Alberta, Canada
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Layers are on the way out. Tables will always be there.
-
Nov 12, 2000, 20:36 #6
- Join Date
- Jul 1999
- Location
- Lancashire, UK
- Posts
- 8,277
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Website Rob
Layers are on the way out. Tables will always be there.
-
Nov 12, 2000, 21:35 #7
- Join Date
- Aug 2000
- Location
- Alberta, Canada
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Being as Layers are a Browser specific tag (for Netscape 4.x only) and are "not" included in any HTML Standards, I don't understand your reference to " W3C being keen to find a solution" since there is no problem - as far as the W3C is concerned? I failed to see where Layers were listed, in the Index of Elements provided by the W3C. Where are you getting your information from Nicky?
Tables on the other hand, "are" part of HTML Standards (since being introduced by Netscape 2.0) and are understood by 99.9% of the Browsers in use today.
Netscape 6 does not use/understand Layers and no other version of Netscape (other than the 4.x version) understand/display, Layers properly.
Also... HTML was never meant to be a language that separates content from layout - XML is designed for that. Which is why we will never see a version 5 of HTML. There "maybe" one more version of HTML 4.x, then that's it. HTML will slowly fade and die out as XML becomes the standard. Which BTW, will/does include Tables.
-
Nov 12, 2000, 22:00 #8
- Join Date
- Jul 2000
- Location
- Long Island, NY
- Posts
- 755
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't believe that there's any real reason why tables need to be inaccessible. If they're laid out with an eye toward accessibility they shouldn't create problems.
-
Nov 12, 2000, 22:19 #9
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Website Rob
Being as Layers are a Browser specific tag (for Netscape 4.x only) and are "not" included in any HTML Standards, I don't understand your reference to " W3C being keen to find a solution" since there is no problem - as far as the W3C is concerned? I failed to see where Layers were listed, in the Index of Elements provided by the W3C. Where are you getting your information from Nicky?
Tables on the other hand, "are" part of HTML Standards (since being introduced by Netscape 2.0) and are understood by 99.9% of the Browsers in use today.
Netscape 6 does not use/understand Layers and no other version of Netscape (other than the 4.x version) understand/display, Layers properly.
Also... HTML was never meant to be a language that separates content from layout - XML is designed for that. Which is why we will never see a version 5 of HTML. There "maybe" one more version of HTML 4.x, then that's it. HTML will slowly fade and die out as XML becomes the standard. Which BTW, will/does include Tables.
When using the <DIV></DIV> container tags and CSS you will achieve greater precision in your layout with simpler easy to read and translate code than you would with Tables. Layers via the DIV container also load faster and do not contribute to page bloat as tables do.
Tables were not meant for layout or positioning, Tables were designed for displaying tabular data much like a spreadsheet does. They have been misused for a long time. Misused for design's sake and enabled a lot of beautiful pages but misused nonetheless.
I have yet to see a pure XML schema support tables. XML is a data container as you said. It has no display properties what so ever. Tables are a type of display so therefore inherently outside the XML specification. Now if you are refering to XHTML, which is an XML compliant form of HTML, then you are correct there are tables included. XHTML is very different than XML. Your data will be displayed as XHTML after going through a transformation process that includes either CSS or XSL. Once done with the process you will be presented with XHTML on PC's, WML on Mobile Devices, and other markup languages depending on the device. This is a true separation of content and presentation.
Maybe it would do everyone good to review the various specifications at http://www.w3c.org and see how they fit together.
-
Nov 12, 2000, 22:20 #10
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by psalzer
I don't believe that there's any real reason why tables need to be inaccessible. If they're laid out with an eye toward accessibility they shouldn't create problems.
-
Nov 12, 2000, 22:48 #11
- Join Date
- Jul 2000
- Location
- Long Island, NY
- Posts
- 755
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
My understanding has always been that software for the visually impaired handles tables, but not straight across. If you lay out your tables like a newspaper, with text in columns, it's not going to work, but if what you put in a cell is able to stand alone, it should be fine. That's a very rough and also bad explanation, but I got it from NetBobby and got an approval, with tables.
[Edited by psalzer on 11-12-2000 at 11:11 PM]
-
Nov 12, 2000, 23:19 #12
- Join Date
- Aug 2000
- Location
- Alberta, Canada
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Actually I was correct in saying "Layers" are on the way out, as well as your mention of the <layer></layer> Tag. There is no such thing as "Layers" in any HTML Specification, only in people's minds. What some people think of "Layers" are more correctly stated as Background Attributes.
Most people for example, are in for a big shock when they view their DHTML pages in Netscape 6! All that "Layering" is going to be so much "mumbo-jumbo" to newer Browsers. Even IE will have to come around to being more HTML/XML complient than what it is now.
By definition, TABLES are for layout & positioning and I agree that for the most part, are incorrectly used. I'm guilty of that as are most people, but I'm working on it.
And although the DIV tag may be thought of as a Layer, it is defined as "a generic mechanism for adding structure to documents" by the W3C, and considered a "Block Element" by those of us that code for a living. Mostly due to the fact that the DIV tag creates an empty space after it, same as P or FORM tags do - which are also "Block Elements."
When psalzer mentioned "an eye toward accessibility" I think the reference was to proper use of TABLES, so that everyone could enjoy/understand, the information contained within. There is an excellent example for the proper use of a TABLE within a DIV, which also properly addresses the accessability issue.
-
Nov 12, 2000, 23:32 #13
- Join Date
- Jul 1999
- Location
- Lancashire, UK
- Posts
- 8,277
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
I haven't got it on me, it is at work. But I have Tim Berners-Lee's "Weaving the Web". I will have a flick through
it tomorrow but if I am not mistaken it is in there htat I read about the separation of content from presentation and structure.
Website Rob - you raised some very valid points. I apologise if I was misunderstood. I never meant to imply that leyers were here to stay, just that I do not think that tables are the solution for laying out our webpages. Not only can they be inaccessible (as already pointed out), but they do not offer the accuracy required for layout purposes. I would like, in the future, see some sort of element (similar to layers) that will allow us to have exact postitioning of objects on a screen. I believe that this can be achieved with layers, but is of course inconsistent and non-browser compatible.
If anyone is interested, downlaod a trial version of pwWebSpeak, the voice browser, from
http://www.prodworks.com.
-
Nov 13, 2000, 05:07 #14
- Join Date
- Aug 2000
- Location
- Manchester, UK
- Posts
- 1,046
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Layers are really useful, but i'd tend to stick to tables for now.
Until that great day prophesised in the bible of web design when both browsers actually display things the same way i'm avoiding anything that can look bad in Netscape.
My own reason being that all our external visitors, or at least most of them use IE and all our internal machines at set up with NS. Browser compatability is sort of a must round here
Adyv-technologies - Freelance Goodness.
Bookmarks