Current location: Hot Scripts Forums » General Web Coding » CSS » help with background-images


help with background-images

Reply
  #1 (permalink)  
Old 06-11-05, 07:54 PM
dodod dodod is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
help with background-images

I have a drop shadow, on each side of a div- like this

*| |*
*| |*
*| |*
*| |*

At the beginning of each side, there is a long "gradient " drop shadow (to match the background)- but once the gradience ends i just need to have the shadow image repeat-y (vertically).

I guess if css worked like id like it to, the code would be this:
Code:
background: url(gradient_shadow.png) no-repeat top left,
url(shadow.png) repeat-y;
I hope that makes sense. If it does, any suggestions?
Reply With Quote
  #2 (permalink)  
Old 06-12-05, 04:12 AM
Pong Pong is offline
New Member
 
Join Date: Jun 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I dont think that its possible to have 2 background images in the same div, your best option may be to add another outside and use it for the background.
Reply With Quote
  #3 (permalink)  
Old 06-14-05, 08:44 PM
jordie jordie is offline
Wannabe Coder
 
Join Date: Jun 2005
Posts: 179
Thanks: 0
Thanked 0 Times in 0 Posts
i think best to have like:

Code:
body { 
      background-image: url(gradient_shadow.png);
      background-repeat: no-repeat; 
}

#background { 
      background-image: url(shadow.png);
      background-repeat: repeat-y; 
}
use id="background" in the div tag, the other one will automatically appy it to the body of the page.
__________________
Jordie Bodlay
php, mysql, postgres
css, xhtml
graphics, design
email me: jb2386@hotmail.com for any programming needs.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rollovers using a background image pagetta CSS 6 04-04-05 03:25 PM
Setting the background Jozhik JavaScript 2 02-22-05 02:32 AM
popup select background dtm JavaScript 0 01-05-04 03:45 PM
images hosting uae2k Script Requests 3 11-03-03 10:29 AM
List images and zip before download jaimexyz Script Requests 0 09-01-03 03:01 PM


All times are GMT -5. The time now is 01:39 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.