changing specific div changes all of them

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default changing specific div changes all of them

    I have created a div.style in the stylesheet, hoping that I can use the same
    style for my layers, which I want to turn on and off using show layer. They are
    all meant to be in the same place on the page, and this has been working fine
    until tonight.

    Now, all of the sudden, every time I change the visibility of one layer, it
    changes them all, which is not good. I have noticed that sometimes it will just
    add the extra specifics to that particular div, and sometimes it changes the
    whole style in the stylesheet. Why has this happened? Can't I just add the
    visibility setting of that particular div and have it override the stylesheet?

    thanks

    Jonibean Guest

  2. Similar Questions and Discussions

    1. Going to a specific page?
      My client would like a alphabetic lookup bar to allow navigation to a specific page of a datagrid - the page which has the first occurance of the...
    2. How to navigate to a specific accordian panel INSIDE a specific tab navigator
      I'm using the tab control as the main navigation for a website. I have a button on tab 1. I want it to point to tab 2 AND open a specific...
    3. how to go to a specific record
      DB is mySQL I'm trying to display a schedule of events, and only want to display dates that had/have events scheduled. Considerations: 1)...
    4. Changing text without changing frames.
      I have a small flash movie that is basically a color chooser. Rather than changing the color of an item by putting the color in a frame I change...
    5. Highlight Specific Row in DG?
      I have a stored procedure which is the datasource for my grid. This is called daTaskHistory. It contains a UNION select statement, returning...
  3. #2

    Default Re: changing specific div changes all of them

    I should clarify:

    I have noticed, for some of my divs, I get code like this:
    <div id="topnav" style="position:absolute; left:0px; top:0px; width:800px;
    height:100px; z-index:3; visibility: visible;">

    and others have code like this:
    <div class="maincontentbox" id="profile">

    The format seems to be different. What is causing the difference? In the top
    one, the visibility stays as I want it, but in the other one it doesn't.

    thanks again for any help.

    Jonibean Guest

  4. #3

    Default Re: changing specific div changes all of them

    Post a link to the page, please. It sounds like you may have nested your
    layers.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Jonibean" <webforumsuser@macromedia.com> wrote in message
    news:dlrnto$jf6$1@forums.macromedia.com...
    >I should clarify:
    >
    > I have noticed, for some of my divs, I get code like this:
    > <div id="topnav" style="position:absolute; left:0px; top:0px; width:800px;
    > height:100px; z-index:3; visibility: visible;">
    >
    > and others have code like this:
    > <div class="maincontentbox" id="profile">
    >
    > The format seems to be different. What is causing the difference? In the
    > top
    > one, the visibility stays as I want it, but in the other one it doesn't.
    >
    > thanks again for any help.
    >

    Murray *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139