Products A-Z All Services Can't find what you're looking for? Chat Live!
Products A-Z Can't find what you're looking for? Chat Live!
Can't find what you're looking for? Chat Live!
Hi all,
Hopefully somebody can help me out - I can't work out why background images, for example on buttons, won't show after adding them into stylesheets.
I'm sure the path to the image is correct and that no-repeat tiling and fixed scrolling is what I need, but my jpeg images will not show on the PEO page.
Any ideas??
Thanks in advance!
I've just used this image from Wikimedia as a button background image. Making the background-color transparent seemed to do the trick in IE8, but Firefox renders it properly without needing the extra transparent bit. Here's some of my sample CSS:
background-image:url(images/blue_button.png);background-attachment:scroll;background-repeat:repeat-x;font-family:verdana;height:21px;color:#ffffff;font-size:10px;font-weight:bold;background-color:transparent;
I'm no CSS expert, but hopefully this helps.