Forum Moderators: not2easy

Message Too Old, No Replies

IE having trouble seeing background images on a Wordpress site

i got nothin'.

         

Don_Hoagie

7:31 pm on May 22, 2006 (gmt 0)

10+ Year Member



I dunno what's up with IE... it's the only browser not showing the background image from this piece of code:

h3 {
border: 2px solid #fff;
margin: 0;
padding: 5px 8px 13px 8px;
color: #690;
font-size: 18px;
background: #000 url(http://www.example.com/images/main_sliver.gif) right bottom repeat-x;
}

Granted, i'm working with a Wordpress template, but the HTML and CSS validate, and every other browser gets it right. This is the snippet of HTML:

<h3 class="storytitle">LOREM IPSUM DOLOR<a
href="http://www.example.com/2006/05/20/test/"
rel="bookmark">SIT AMET</a></h3>

The "storytitle" class is empty in the CSS file. Any ideas? Anyone? Bueller?

Moby_Dim

5:29 am on May 23, 2006 (gmt 0)

10+ Year Member



May be the same problem as in [webmasterworld.com ] imho.

Don_Hoagie

4:55 pm on May 23, 2006 (gmt 0)

10+ Year Member



Thanks for the reply Moby... unfortunately, what is strange is that the background image works in my html editor (uses IE as rendering engine) when i pull it from the Worpress editor section and paste it into the editor. The background image only ceases to show up on the "live" end of IE. Pure, unadulterated silliness.

I know there is a stupid mistake here somewhere... i'm just too stupid to find the stupid mistake apparently. Obviously you can't knock Wordpress, but something bad seems to happen only once the code is integrated with the WP backend.

Moby_Dim

7:00 pm on May 23, 2006 (gmt 0)

10+ Year Member



I've tested your code - works fine (IE6)