Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Transparency in Dreamweaver.

  • 10-12-2009 06:17PM
    #1
    Closed Accounts Posts: 1,493 ✭✭✭


    Hi all,
    How, using Dreamweaver/CSS, would I go about rendering the background of a div as transparent? Basically I'm using container divs for my header & nav bar so I would rather just use the one background (the one for the complete body of the page or even just the main div). Thanks in advance for any help.


Comments

  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    You can use CSS opacity, but be aware that any nested child elements can't go beyond that opacity.

    e.g. If a div is 50% and the links within it are 100%, those links will be "100% OF 50%".

    P.S. Just re-read your post. If you don't have any background image or colour set (or you explicitly set them to "none") then the background will by FULLY transparent.


Advertisement