![]() |
![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 02 - Web Site Management Creating & Managing an Effective Business Web Site Featured Service: NoMoreWebMasters.com Featured Service: 1&1 Web Hosting - 90 day money back guarantee |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
What are some effective uses of layers on web pages? I haven’t seen them used that much, and I was curious as to how to use them in web design. Should they be used at all?
|
|
#2
|
|||
|
|||
|
You must be referring to CSS. It has lots of uses. Suppose you have a flexible layout that changes with screen res. If there is a potential for elements to overlap at lower resolutions, or you want to deliberately overlap, layering is a nice way to control it. I have not had any problems with layers, but always test your design in multiple browsers and on different computers.
|
|
#3
|
|||
|
|||
|
I've had a few problems with layers, ... we had a layer that interfered with a few hyperlinks and web buttons. But I think that was a fluke problem. Just wanted to throw that out there as a cautionary note though.
|
|
#4
|
|||
|
|||
|
Quote:
Jagella |
|
#5
|
|||
|
|||
|
Hi Steve:
Quote:
Quote:
Quote:
Thanks, Jagella |
|
#6
|
|||
|
|||
|
Effective use of layers has to do with CSS positioning and effects that can be made with layer techniques.
Lets say you want to background image to accent the page, you can use layers to place the image in the background using the z-index, with the text at a higher z-index. Also, you can use it for dynamic rollover techniques for content. It might require some javascripting, but the effects are great. If you are going Ajax techniques, then you will need to learn DOM, javascripting, and advanced CSS techniques to achieve the effects of the likes of gmail and such. |
|
#7
|
|||
|
|||
|
Quote:
Quote:
Quote:
![]() Thanks, Ritchie, Jagella |
|
#8
|
|||
|
|||
|
Just one thing to keep in mind - WYSIWYG editors seems to call these layers. While a lot of developers and designers will refer to them as divs or divides.
|
|
#9
|
|||
|
|||
|
Quote:
Jagella |
|
#10
|
|||
|
|||
|
Jagella, I remember the thread very well, and I even remembered it was yours. At least my memory isn't failing, but then again, my strength is renewed every day like an eagle.
One thing to know with DW is that the design window view is not very reliable when you start adding in advanced coding. Always test in a browser. You will find it often looks very different from the way DW shows it. That just reinforces the advice to learn the code. As for flexible screen res, I do know a site, this one. If you change screen res, you'll see the effect. You can also drag the corner of your browser screen to see it flex too. I don't see any layering here, but if there was, the higher layer would overlap the lower instead of stopping when the two objects butt up against each other. If you use layering, make sure the contrast doesn't defeat your purpose. My site uses some layering too, but a more obvious example of layers is my design at www.hladvantage.com I didn't use a flex design at the above example, but I did use a flexible layout for www.gtindustries.com Hope that helps a little. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|