Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    4
    Member #
    14336
    My website looked fine in IE6. However I recently upgraded to IE7 and the css code for one of my background images is not working correctly anymore. Is there a missing code in my css that will not allow the background image to show.

    .ticker {
    background-attachment: fixed;
    background-image: url(images/ticker_bg.jpg);
    background-repeat: no-repeat;
    background-position: inherit;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-align:right;
    font-size: 12px;
    color: #F26521;

    View the site in IE7 to see the issue with the background behind the ticker:
    http://www.gbac.com/

    Please Help!

  2.  

  3. #2
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Hey,
    I messed around w/ it, and I'm not sure WHY (because I'm not like, EXPERT CSS) but when I took out
    Code:
    	background-attachment: fixed;
    , the background showed.
    BUT, I also had to take out the <p> tag (the one that was wrapped around your <span> that was in your <div>) in order for the text to show in the ticker background (the <p> was pushing it down, at least in my browser anyways)...
    choosy developers choose gif!
    website | paintings | blog

  4. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    4
    Member #
    14336
    Quote Originally Posted by raspberryh
    Hey,
    I messed around w/ it, and I'm not sure WHY (because I'm not like, EXPERT CSS) but when I took out
    Code:
        background-attachment: fixed;
    , the background showed.
    BUT, I also had to take out the <p> tag (the one that was wrapped around your <span> that was in your <div>) in order for the text to show in the ticker background (the <p> was pushing it down, at least in my browser anyways)...
    Thank you for the help! It works fine now.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:21 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com