Jump to content

Recommended Posts

Posted (edited)

I have attached a background image to this slideshow, but for some reason it does not show. I have resized the main images so that they show in the inside of the background image but they appear to cover the background image. What could I have done wrong?

Edited by capnhud
Posted

Well since we're using words to code this thing, just tell the background image to go in front of the others. That should to it!

 

Seriously though, when and/or if you supply the code, give all of it. Not an html snippet and then the css snippet. It should not be our job to piece it all together for you just to get a working copy. That said, sometimes, when working with images, it's easier to have a live copy. So throw it up on your server (shouldn't have to be mine) and then we'll go from there...

Posted
Well since we're using words to code this thing, just tell the background image to go in front of the others. That should to it!

 

Seriously though, when and/or if you supply the code, give all of it. Not an html snippet and then the css snippet. It should not be our job to piece it all together for you just to get a working copy. That said, sometimes, when working with images, it's easier to have a live copy. So throw it up on your server (shouldn't have to be mine) and then we'll go from there...

 

LOL at first I was like what are you talking about. But after reading my post I see the link was not on the word. When I created the post I had inserted the link.

Posted

Your style hasn't got a width; see if adding one makes a difference:-

#gallery {

background: url(images/gimp_head_shadow.png) no-repeat

scroll center top;

position:absolute;

height:354px; width: 580px;

}

 

It did in my test, but I didn't have all your othe rimages, but I got a blank space without the width, then a gray background after adding the width.

Posted (edited)

I even created separate div for the gallery and still no go. With the padding the images fall outside the div

Edited by capnhud
Posted

Took a quick look. here is how I would do it. place the shadow div inside the gallery. position absolute it and position it where you want. Then you'll probably need padding on the gallery so it shows the shadow. give that a try...

Posted
Going that route seems to be more problematic.

OK, well how are you trying to position the shadow? Poking out the bottom and right? Or bottom and right/left? I just moved the gallery div around, it's not big enough to poke out both sides, but definitely doesn't look good (with that distinct border on the shadow) just coming out the right side. So...

Posted (edited)
I just moved the gallery div around, it's not big enough to poke out both sides

 

Eric your a cool dude. I tried to enlarge it I thinks 8px wider now. I am trying to center the images in it.

Edited by capnhud

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...