Using layers in Dreamweaver to build a page layout

Soldato
Joined
11 Apr 2004
Posts
19,914
Hi guys,

I'm having a play in Dreamweaver to get some ideas for a website I'm building and have come across the 'Draw Layer' button.

Now, I've always used frames and tables to set out the page layout but for the website I'm working on, this isn't suitable. Basically, the company logo (two overlapping circles) which is going to be used as the navigation menu for the site, needs to sit flush with the left hand side of the window.

By using a table, it leaves a gap of 3mm or so, whereas when using a layer, the images sit flush with the edge of the window, leaving no border.

Are there any downsides to using layers when building pages? Is it bad practice?

Thanks.
 
Layers in dreamweaver are essentialy CSS just very messy. Thats the only problem

You draw a layer and dreamweaver creates a CSS class for you.
 
Last edited:
Ah cheers guys.

It's been years since I last did any HTML so I'm a bit rusty and have never done any CSS before.

I'm reading up on it but this website needs doing ASAP, so I might use layers for now and then go back at a later date when I'm a little more clued up.
 
I wouldnt use the draw layer feature in dreamweaver, it creates some ugly css for it.

I used to be the same as you but then I just experimented with making divs and positioning them with css using tutorials etc until I understood what was going on and I can say its pretty straightforward (until you get to the stage where something you do works in firefox but looks ugly in internet explorer!). I say go for it, as css for positioning produces much nicer code and generally a cleaner website which also allows you to overlap layers with other layers and can produce some very interesting results!
 
Back
Top Bottom