?
Solved

Firefox Gradient Repeating issue

Posted on 2013-01-06
6
Medium Priority
?
378 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
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 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