Welcome, Guest. Please login or register.

Login with username, password and session length
Pages: [1]   Go Down
Print
Topic: background-image transparency  (Read 797 times)
« on: April 29, 2009, 10:52:38 PM »
sanjalee Offline
Newbie

View Profile
*
Posts: 3



Hey
Im having some trouble with some background-images backgrounds not being transparent when used as background-image in css! The images have been formatted okay and theyre backgrounds are transparent when the images aren't used as background-images. Is there a work around to get the images to display as intended as background-images?

Thanks in advance
Logged

 
« Reply #1 on: July 07, 2009, 01:23:12 AM »
connie_pankratz Offline
Newbie

View Profile
*
Posts: 5



background: trasparent url(../../) 0 0 no-repeat;
Logged
« Reply #2 on: September 16, 2009, 04:57:51 AM »
hilda_mateiu Offline
Newbie

View Profile
*
Posts: 3



Use the body function instead. This will specify color, image, image repeat, position and attachment. Make sure your image is in the same directory as your .css file
body {background: black url("example.jpg") no-repeat fixed 50% 50%;}

Color Values
[background-color] | [background-image] | [background-repeat] | [background-attachment] | [background-position]
Logged
 
Pages: [1]   Go Up
Print
Jump to: