Log in

View Full Version : CSS & Dreamweaver



jhatter
11-20-2009, 09:31 AM
Hi,

I notice that when I create CSS websites in Dreamweaver using the "draw AP Div", the style it automatically generates always contains a "z-index" (eg on the #footer).

If I look at the style of css websites that I know have been hand-built, they rarely contain a z-index for such divs. Why is this? Is due to the AP Div being absolute-positioned?

What would the consequence be if I deleted the "z-index" value from my auto-generated styles?

Thanks in anticipation of your advice!

bluewalrus
11-20-2009, 02:08 PM
the zindex controls the layering of elements. if non overlap you'll be fine.

jhatter
11-23-2009, 01:06 PM
Thanks for your reply. I understand the need for z-index numbers.

I guess my question is why does Dreamweaver feel the need to put in a z-index number automatically when none of the Divs created are overlapping?

And i suppose to answer my question, because DW can't differentiate between what is or isn't overlapping.