Avatar of pixellight1
pixellight1 asked on

css coding for semi-transparent drop down menu

using the following code to try and get a semi-transparent drop down menu (drop down originally created in Fireworks and then imported webpage into Dreamweaver). No matter what I do the dropdown is COMPLETELY transparent. Working on Mac and testing in Safari and Firefox.

Thank you.


#MMMenuContainer0627152508_1 a {
/* Controls the general apperance for menu MMMenuContainer0627152508_1's items, including color and font */
      text-decoration:none;
      font-family:Verdana, Arial, Helvetica, sans-serif;
      font-size:12px;
      color:#ff0000;
      text-align:left;
      vertical-align:middle;
      padding:3px;
      background-color:#ffffff, filter:alpha(opacity=40);opacity: .4;-moz-opacity: .4;
      font-weight:normal;
      font-style:normal;
      display:block;
      position:absolute;
}
Web Graphics SoftwareAdobe DreamweaverCSS

Avatar of undefined
Last Comment
Vee_Mod

8/22/2022 - Mon
VirusMinus

try opacity:0.4 instead of .4

and try a color other than white to make sure.
v2Media

Give the element that you're applying the filter to a css height or width.
ASKER CERTIFIED SOLUTION
pixellight1

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Vee_Mod

Closed, 500 points refunded.
Vee_Mod
Community Support Moderator
Your help has saved me hundreds of hours of internet surfing.
fblack61