Hi,
I want to use RGBA color in one of my div in Dreamweaver CS5, while typing the color code in box like: rgba(0,0,0,.5), the dreamweaver says the following error "rgba(0,0,0,.5) is not a valid color value. Enter a hex value (#RRGGBB) or a standard color name.
I have tried using class
.rgba {
background: rgba(165,165,165,.85);
}
but I can't see any color. I have seen several videos on Youtube where the person was able to directly use the RGBA color code in the dreamweaver cs5 colorbox.
Please help!
Try rgba(0,0,0,0.5). Note the
Try rgba(0,0,0,0.5). Note the leading zero on the alpha value. Do keep in mind that DW is not the browser, nor is it the authoritative word on validity. See ยง4.2.2. RGBA color values.
Always test in real browsers and check validity with the validators at w3.org
cheers,
gary
Problem Still Persists
Hi Gary,
Thank you for your prompt help. The problem is dreamweaver is not at all accepting rgba code, it shows error and automatically returns to hex code "#333" after showing error.
Don't know what to do! Several in youtube tutorials are doing it easily.
Plain edit mode?
Doesn't DW have a plain edit mode, without all the help? I haven't touched DW since about 2000 or '01. I messed with it some and decided it was simpler and much faster to just fire up Emacs and write code. From helping others with DW, also a while back, I recall you can leave design mode or whatever it's called, and simply write what you want.
Do you have an old version? The css3 color module was a candidate recommendation as of 2003 and totally stabilized as a recommendation in 2011. Doesn't Adobe do any updates? (Forgive me my ignorance, I'm a Linux guy and can upgrade every application and library on my machine to last night's build.)
Frankly, unless your boss is telling you that's the company way, I'd do again what I did a dozen years ago; dump it. Find someone you really dislike and make him a deal he can't refuse.
cheers,
gary
Thank You!
Got it right! Did it via plain text mode! Dreamweaver still looks outdated! Anyways, thanks a ton for your assistance