Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Background Image Not Displaying on IE8 (http://forum.bytesforall.com/showthread.php?t=15288)

c12281 Sep 3, 2011 01:49 PM

[SOLVED] Background Image Not Displaying on IE8
 
I have added a background image, which displays fine in Chrome and Safari but doesn't display at all in IE8. Is there some additional code I can add to get the background to appear in IE? The site is http://sweetboutiquellc.com. Thanks!

lmilesw Sep 3, 2011 10:17 PM

Where did you put the code for the background image? Did you use a full or relative path for the image? If you used relative did you try full?

c12281 Sep 3, 2011 11:48 PM

I entered the following code in ATA Options Body, Text, and Links:
background: url(/wp-content/themes/atahualpa/images/SBstripedbackground.jpg)center repeat;

As I mentioned, it displays fine in FireFox, Chrome, and Safari. Do I need to change this for IE?

Thanks...

lmilesw Sep 4, 2011 06:19 AM

Your background shorthand code is probably confusing IE. There should be a space after the closing parenthesis and you should specify both horizontal and vertical positioning. For the syntax on background shorthand check w3schools.com.

c12281 Sep 4, 2011 02:59 PM

Adding a space after the closing parens did it! So glad that was such an easy solution. Thank you!!!


All times are GMT -6. The time now is 04:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.