Hi, I have just put the slide up boxes into a site. Everything works fine in the browsers, testing through Dreamweaver, but when the site goes live the images that should appear on rollover, disappear. Does anyone have any ideas why this might be happening?
I did try that. It hasn't made a difference. I'm sorry I don't really understand why it would. I have only been designing web sites for about 5 months so I don't know what you mean by fixing the rest of the code. Thanks for trying to help!
The images are appearing with Chrome (Webkit) but it's causing all sorts of other errors.
You seem to be using a lot of empty paragraph tags for some reason plus there are some strange declarations in your 'head' along with a lot of other weird things.
Your doctype shows xhtml...
Also, what browser is this not appearing in specifically?
.slide-up-boxes a:hover div {
opacity: 1;
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
}
.slide-up-boxes a:nth-child(1) div { background: #EBAC8B url(images/flickr-2.png) 4px 4px no-repeat; padding-left: 120px; }
.slide-up-boxes a:nth-child(2) div { background: #367db2 url(images/facebook.png) 4px 4px no-repeat; padding-left: 120px; }
.slide-up-boxes a:nth-child(3) div { background: #9A8F9A url(images/twitter.png) 4px 4px no-repeat; padding-left: 120px; }
a:link {
These are the images that aren't appearing.
You still need to fix the rest of your code
Thanks for trying to help!
You have an XHTML Doctype but are using HTML5 elements in some cases. Try fixing those errors before implementing the sliding boxes.
*I tried going to the image by URL with no luck* Check to see if your images are in the right place.
../images/facebook.png - or even ../../images/facebook.png to go up one or two levels
The images are appearing with Chrome (Webkit) but it's causing all sorts of other errors.
You seem to be using a lot of empty paragraph tags for some reason plus there are some strange declarations in your 'head' along with a lot of other weird things.
Put "../" in front of images/facebook.png and is working fine.