Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to share free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2009, 10:36 AM
nguyen_corinne's Avatar
Junior Member
 
Join Date: Jun 2009
Posts: 1
nguyen_corinne is on a distinguished road
Default background-image transparency

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

Last edited by ishkey; 06-10-2009 at 11:24 AM.
Reply With Quote
  #2 (permalink)  
Old 07-18-2009, 03:06 AM
Junior Member
 
Join Date: Jul 2009
Posts: 5
southhollister is on a distinguished road
Default

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]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:59 AM.



mouseover mouseover mouseover