Results 1 to 3 of 3

Thread: CSS & Dreamweaver

  1. #1
    Join Date
    Aug 2009
    Location
    London
    Posts
    93
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Default CSS & Dreamweaver

    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!

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    the zindex controls the layering of elements. if non overlap you'll be fine.

  3. #3
    Join Date
    Aug 2009
    Location
    London
    Posts
    93
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •