?
Solved

Firefox Gradient Repeating issue

Posted on 2013-01-06
6
Medium Priority
?
374 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

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!

Question has a verified solution.

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

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
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…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

777 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