|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Nov 2002
Posts: 299
|
what are layers in web design?
I've noticed that some websites use layers... through dreamweaver as well.
--What are layers? What are they for? and why should anyone use them?
__________________
Intel Core 2 Duo e8400 3 ghz, Gigabyte EP35-DS3P Rev. 2.0, eVGA Nvidia 6800 GT 256 mb (Currently: ASUS 9600 GSO 348 mb), 2 GB (2x1gb) DDR2-800 Crucial Ballistix, Echo Audiofire4 soundcard, Seagate 120gb / 80 gb, SATA150 hd, BenQ 1620 DVD Burner, Sony Floppy drive, Antec Sonata II case w/450 Watt psu, Samsung 20" widescreen LCD, Win XP Home SP2 |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Layers can be done several ways, using javascript, using divs and using iframes. Divs and Js are the best supported. You can also use a sort of layer by using CSS to create table backgrounds.
|
|
|
|
|
|
#3 |
|
Fly Eagles Fly
|
But I'm wondering as well as he is, what exactly does a div do? What would you need a div for? And, is there an example I can see of them. I bought a copy of goLive awhile back and it had it in there, wasn't sure what it was for though.
|
|
|
|
|
|
#4 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Explanation of Div
example of div layers Click the demo link at the bottom. Basically Div just allows for positioning of various elements on a page. They can be overlapping or not. Support is pretty good in most newer browsers, much better than iframes. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|