Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    65
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Remove colour from Div

    Hi i've used css to code the div layers in my web page so that they all have a background colour of grey. If i wanted one div layer to have no background colour, what would i do? Is there a way to do this?

    Thanks for any help
    xx

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Setting background-color to white on the required div might be the simplest solution. If you want to be able to see what's behind the div for whatever reason, then background-color:transparent.

  • #3
    New Coder
    Join Date
    May 2009
    Posts
    65
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thank you! So simple...i feel silly lol x


  •  

    Posting Permissions

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