Layers Anyone?

This is a discussion on "Layers Anyone?" within the Web Page Design section. This forum, and the thread "Layers Anyone? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 19th, 2003, 12:31
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
Layers Anyone?

Dreamweaver includes a feature called Layers. This powerful tool can position your site elements accurate to a pixel.

What I do not know is whether it can be used in whole designs, as a replacement for tables...

Having no experience in CSS-P, I do not know if it is,in fact, an equivalent of CSS-P! Or even a variation of that.

I would like to know that, and also the compatibility of layers... whether what browsers can support them and all that.

  #2 (permalink)  
Old Nov 19th, 2003, 14:38
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
With my past experiences all browsers except IE didn't show layers very well. Usually my content lied about 10-20 pixels off of where it was suposed to be and made it look terrible. Unless I just did something wrong, I really really dont suggest layers for anything... Well I do for Flash pop-up windows, but not for anything else.
  #3 (permalink)  
Old Nov 19th, 2003, 18:19
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Dreamweaver layers do use CSS to position content. The problem is that there's still some differences in how browsers interpret somthing things like layer width, margins, etc so you really have to go in by hand and know what you're doing (at least a little) to get them to work consistently.
  #4 (permalink)  
Old Nov 19th, 2003, 22:02
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Well theres my problem.. I have no idea as to what I am doing.. I am just a NooB when it comes to Universal Designing. Well, as a matter of fact I am a NooB at just about everything I am doing. Ohh, and just to let you know, NooB is a term used in gaming.
  #5 (permalink)  
Old Nov 19th, 2003, 22:38
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Noob's pretty universal :wink:

Anyway, check out the book Eric Meyer on CSS, it's real good and goes into cross-browser friendly CSS.

Try this as well: http://www.westciv.com/style_master/house/
  #6 (permalink)  
Old Nov 20th, 2003, 02:21
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
"What is true is that the process of trial and error which accompanies trying to make a style sheet work in all major browsers can be time consuming, and extremely frustrating. Again, though, as browsers like Internet Explorer 5 and 6 and Netscape Navigator 7 become more and more widely used, this becomes less and less of an issue."westciv.com/style_master/

That phrase really frightens me :wink:... "trial and error which accompanies trying to make a style sheet work in all major browsers can be time consumin and extremely frustrating "...

I wasn't even aware of Netscape 7 and have been using 6.1 for quite a long time...

"There is no such thing as a layer HTML element, rather, layer is a term for any HTML element that is positioned on a web page using CSS2." This is confusing! Does this mean that layer is NOT a HTML element? and that it is an HTML element ( any type ) positioned using CSS2...

Does that mean layers are indeed making use of CSS2 and not some out-of-the-world "standard" or a non-CSS way of doing stuff?

I don't know If I am talking crap. Don't forget I'm new in this area.
  #7 (permalink)  
Old Nov 20th, 2003, 03:40
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
you could always use <div> tags!!!
  #8 (permalink)  
Old Nov 20th, 2003, 05:14
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I think in Dreamweaver speak a layer is actually a SPAN or DIV.

After reading the book I mentioned and some other things I decided that my next contract was going to be done with as much CSS as possible.

Needless to say it was far more trouble than I had hoped, and I resorted to tables for parts of it, and some CSS tricks in places. But I was able to get quite a bit of CSS working across different browsers and cleaner code in general.
  #9 (permalink)  
Old Nov 20th, 2003, 06:36
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
If you were to look at the source of layers after you created it in Dreamweaver , yes, it is in essence <div> and <span> tags. I tested it on the major platforms, netscape 4.7, IE 5.5, netscape 7 and it looks fine..

Do you know how to CENTER a layer to the center of the page when it is resized?
  #10 (permalink)  
Old Nov 20th, 2003, 07:29
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
really?? I used to hand code <div> tags.. never really got into the coding for layers with Dreamweaver.. I am sure that there is something in Dreamweaver that will convert the layers to CSS. ALmost posotive I read something about it... Ohh well, look into it.
  #11 (permalink)  
Old Nov 20th, 2003, 23:20
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
to center a layer give it a width and set margin-left and margin-right to auto.

IE has problems with that though and it'll only work in IE6 in strict mode. You can avoid that by wrapping your layer in a DIV or SPAN with text-align set to center.
  #12 (permalink)  
Old Nov 21st, 2003, 04:46
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by Catalyst

to center a layer give it a width and set margin-left and margin-right to auto.

IE has problems with that though and it'll only work in IE6 in strict mode. You can avoid that by wrapping your layer in a DIV or SPAN with text-align set to center.
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Wrapping layers in DIV or SPAN? I thought layers ARE DIV or SPAN!
Is it that <DIV><DIV>Content</DIV></DIV>

Umm... thats weird.
  #13 (permalink)  
Old Nov 21st, 2003, 18:24
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, it's not unusual to nest them like that for layout purposes.
  #14 (permalink)  
Old Nov 21st, 2003, 23:40
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
ok then; as I said in another post, I'm joining the thinkquest web design thing so do you think I should design the entire site using layers or tables? I don't really wish to work with new, experimental or incompatible technology...
  #15 (permalink)  
Old Nov 21st, 2003, 23:48
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by gwx03

I don't really wish to work with new, experimental or incompatible technology...
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Then haven't you answered your own question?
  #16 (permalink)  
Old Nov 22nd, 2003, 00:00
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
I don't really need the power of layers though... but I thought it would be nice ? or a plus that I use new stuff?

In other words, I'm using layers for the sake of using it.
Closed Thread

Tags
layers

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layers WEB Starting Out 7 May 29th, 2007 23:26
Layers GCrame5832 Web Page Design 6 Dec 31st, 2005 21:42
Using layers in CSS jwalker80 Web Page Design 3 Dec 21st, 2005 14:08
layers forry Web Page Design 7 Sep 21st, 2005 08:42
Need help with layers davidsnave Web Page Design 0 Aug 29th, 2005 23:26


All times are GMT. The time now is 23:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43