Transparent background for div?

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

  1. #1

    Default Transparent background for div?

    Hello, all. Is it possible to have a div with *just* the background
    semi-transparent (opacity: 50%)? I know how to do the whole div, but
    wondered if it's possible for the background to be somewhat transparent.
    Thanks.


    dw Guest

  2. Similar Questions and Discussions

    1. swf background transparent
      Samone knows to place in the swf a background transparent? Sorry my English is very bad.. i'm portuguese thanks !! Sónia
    2. transparent background--how to get one???
      selected a turtle in pshop and gave it a transparent background.. copied it into illustrator to use BUT it still has a white background when i place...
    3. Transparent Background?
      I have created a simple swf files, the background appares to be black when I put it on my site, how can I make the background transparent? Thank...
    4. Why isn't my background transparent?
      It's been a long time since I've used Freehand. Last version I used was FH8. I'm now working with FHMX. With FH8, I used to be able to save a vector...
    5. Transparent background??
      Hello, I am trying to make an image with a transparent background...I set the canvas as transparent, but when I export to .gif or preview, I get...
  3. #2

    Default Re: Transparent background for div?

    Not cross-browser. However, you can do this in SOME browsers using
    the -moz-opacity filter in CSS.

    --
    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
    ==================

    "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    news:cpa79o$li8$1@forums.macromedia.com...
    > Hello, all. Is it possible to have a div with *just* the background
    > semi-transparent (opacity: 50%)? I know how to do the whole div, but
    > wondered if it's possible for the background to be somewhat transparent.
    > Thanks.
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Transparent background for div?

    Thanks, Murray. I've tried that, but it makes the whole div
    semi-transparent. Maybe if I put the -moz-opacity on items within the div,
    and set it to no transparency, that might do the trick.

    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:cpae6o$sja$1@forums.macromedia.com...
    > Not cross-browser. However, you can do this in SOME browsers using
    > the -moz-opacity filter in CSS.
    >
    > --
    > 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
    > ==================
    >
    > "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    > news:cpa79o$li8$1@forums.macromedia.com...
    >> Hello, all. Is it possible to have a div with *just* the background
    >> semi-transparent (opacity: 50%)? I know how to do the whole div, but
    >> wondered if it's possible for the background to be somewhat transparent.
    >> Thanks.
    >>
    >
    >

    dw Guest

  5. #4

    Default Re: Transparent background for div?

    Oh - you only want PART of the layer to be semi-transparent? Then nest
    another div inside and use that nested one....

    --
    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
    ==================

    "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    news:cpaglq$1ue$1@forums.macromedia.com...
    > Thanks, Murray. I've tried that, but it makes the whole div
    > semi-transparent. Maybe if I put the -moz-opacity on items within the div,
    > and set it to no transparency, that might do the trick.
    >
    > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > news:cpae6o$sja$1@forums.macromedia.com...
    >> Not cross-browser. However, you can do this in SOME browsers using
    >> the -moz-opacity filter in CSS.
    >>
    >> --
    >> 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
    >> ==================
    >>
    >> "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    >> news:cpa79o$li8$1@forums.macromedia.com...
    >>> Hello, all. Is it possible to have a div with *just* the background
    >>> semi-transparent (opacity: 50%)? I know how to do the whole div, but
    >>> wondered if it's possible for the background to be somewhat transparent.
    >>> Thanks.
    >>>
    >>
    >>
    >
    >

    Murray *TMM* Guest

  6. #5

    Default Re: Transparent background for div?

    Thanks, Murray. That's a very good idea, and I'll set the transparency to 0
    on the inner div.

    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:cpahl6$2pa$1@forums.macromedia.com...
    > Oh - you only want PART of the layer to be semi-transparent? Then nest
    > another div inside and use that nested one....
    >
    > --
    > 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
    > ==================
    >
    > "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    > news:cpaglq$1ue$1@forums.macromedia.com...
    >> Thanks, Murray. I've tried that, but it makes the whole div
    >> semi-transparent. Maybe if I put the -moz-opacity on items within the
    >> div, and set it to no transparency, that might do the trick.
    >>
    >> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    >> news:cpae6o$sja$1@forums.macromedia.com...
    >>> Not cross-browser. However, you can do this in SOME browsers using
    >>> the -moz-opacity filter in CSS.
    >>>
    >>> --
    >>> 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
    >>> ==================
    >>>
    >>> "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    >>> news:cpa79o$li8$1@forums.macromedia.com...
    >>>> Hello, all. Is it possible to have a div with *just* the background
    >>>> semi-transparent (opacity: 50%)? I know how to do the whole div, but
    >>>> wondered if it's possible for the background to be somewhat
    >>>> transparent. Thanks.
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

    dw Guest

  7. #6

    Default Re: Transparent background for div?

    You're welcome!

    --
    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
    ==================

    "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    news:cpcc3k$s2k$1@forums.macromedia.com...
    > Thanks, Murray. That's a very good idea, and I'll set the transparency to
    > 0 on the inner div.
    >
    > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > news:cpahl6$2pa$1@forums.macromedia.com...
    >> Oh - you only want PART of the layer to be semi-transparent? Then nest
    >> another div inside and use that nested one....
    >>
    >> --
    >> 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
    >> ==================
    >>
    >> "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    >> news:cpaglq$1ue$1@forums.macromedia.com...
    >>> Thanks, Murray. I've tried that, but it makes the whole div
    >>> semi-transparent. Maybe if I put the -moz-opacity on items within the
    >>> div, and set it to no transparency, that might do the trick.
    >>>
    >>> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    >>> news:cpae6o$sja$1@forums.macromedia.com...
    >>>> Not cross-browser. However, you can do this in SOME browsers using
    >>>> the -moz-opacity filter in CSS.
    >>>>
    >>>> --
    >>>> 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
    >>>> ==================
    >>>>
    >>>> "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
    >>>> news:cpa79o$li8$1@forums.macromedia.com...
    >>>>> Hello, all. Is it possible to have a div with *just* the background
    >>>>> semi-transparent (opacity: 50%)? I know how to do the whole div, but
    >>>>> wondered if it's possible for the background to be somewhat
    >>>>> transparent. Thanks.
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

    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