WordPress.org

Ready to get started?Download WordPress

Forums

background images on body tag in IE 7 + 8 (3 posts)

  1. theotherlebowski
    Member
    Posted 3 years ago #

    hi all, as someone who's reasonably good with css i i'm getting very frustrated because i cannot for the life of me figure out why this issue is happening...

    i've placed a background image in the body tag via css and it's shows fine in chrome, safari and FF (on mac) but when go to that ie netrender site it doesn't show in IE 7 or 8.

    here's the link to the site so you can see it properly:

    alan's tattoo studio

    and here's the css for the body tag:

    body {
            margin: 0 auto;
            background: url(images/website_scrollhart_newest.gif) no-repeat center;
            font: 12px Verdana, Helvetica, Arial, Geneva, sans-serif;
    	color: #333;
            height: 100%;
            min-height: 1%;
    }

    now it might be something horrifically simple (as these things often are!) but for the life of me i can't figure it out.

    if anyone could give me a clue that'd be great. :D

    take 'er easy dude.

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    it is probably not the css -
    IE7 doesn't show the image:
    http://ryzar.com/alanstattoostudio/wp-content/themes/Alans_Tattoo_Studio/images/website_scrollhart_newest.gif

    viewing the image properties, firefox thinks it is a jpeg image despite the extension of .gif

  3. theotherlebowski
    Member
    Posted 3 years ago #

    it was originally a .jpg but i read somewhere that IE was so stupid you could fool it by changing the file extension... i guess not! i'll change it back to .jpg and keep searching for a solution. if you can think of any reason why, even as a .jpg, IE won't display the bg image on a body tag that'd be great :)

    it's really frustrating how lame IE is... if microsoft made cars and one of their components was as shoddy as this people would die and they'd go out of business.

Topic Closed

This topic has been closed to new replies.

About this Topic