Solved

Firefox Gradient Repeating issue

Posted on 2013-01-06
6
369 Views
Last Modified: 2013-01-15
I am using the following CSS3 for my <body> tag:

body
{
      
    width: 100%;
    height:100%;
    margin: "0";
    padding: "0";
            
    /* default background colour, for all layout engines that don't implement gradients */
    background: #ffffff;
    background-repeat: no-repeat;
    color: #000000; /* text colour (black) */
      
    filter: progid:DXImageTransform.Microsoft.Gradient (startColorstr='#005595', endColorstr='#dddedf', gradientType='0'); /* IE based browsers */
    background: -moz-linear-gradient(top, #006595, #dddedf); /* Mozilla (Firefox) based browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#006595), to(#dddedf)); /* webkit based browsers */

    FONT-WEIGHT: normal;
    FONT-SIZE: 9pt;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
      
}

IE works fine, but the background repeats when I scroll in Firefox. I can't figure out how to make it not do that. Please help.

Thanks in advance!
0
Comment
Question by:LandyJ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 7

Author Comment

by:LandyJ
ID: 38748506
Thanks for the reply, but that's the code I'm using. In IE, the background stays static, as expected, but in Firefox, when I scroll, the background scrolls also. I apologize for not posting an image of the issue with the original post. Please see the attached image for a clearer picture of what is happening.

Thanks.
FFscrollissue.jpg
0
 
LVL 30

Expert Comment

by:IanTh
ID: 38748525
what version of firefox as it says for 3.7

you code does seem to be missing some parameters that are on the code on the url
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Author Comment

by:LandyJ
ID: 38748659
Firefox version, latest and greatest: v17.0.1.

As for the code, if I am looking at the wrong line, I apologize, but:
(their code)
background: -moz-linear-gradient(top,  #ccc,  #000);

(my code)
background: -moz-linear-gradient(top, #006595, #dddedf);

I appreciate your help...
0
 
LVL 7

Accepted Solution

by:
LandyJ earned 0 total points
ID: 38765216
I have opened another question with a better example and description of this issue, so I'm closing this one.

The new question is at: http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_27991758.html
0
 
LVL 7

Author Closing Comment

by:LandyJ
ID: 38777601
I have opened another question with a better example and description of this issue, so I'm closing this one.

The new question is at: http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_27991758.html
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question