Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:33:15+00:00 2026-05-30T00:33:15+00:00

I am developing an Application with jQuery Mobile and Phonegap. I want to have

  • 0

I am developing an Application with jQuery Mobile and Phonegap. I want to have a color gradient from #3c3c3c (grey) to #000000 (black) in the background but when I use this code

background:  -webkit-linear-gradient(top, #3c3c3c, #000000);

you can see just a few big bars with different grey shades. So there is no linear gradient. Also you are able to see some green and some violet bars.

  - Sorry as a new user I am not able to insert a Screenshot - 

I also tried to instead insert a background image which shows a color gradient but this also looks as described above (we have also tried to maximize the color-depth of the picture but this also did not change the result).

Is it possible that the device is not able to display enough colors for a linear gradient?
Is there another possibility for creating a linear gradient?

Any help is greatly appreciated!

I am testing with
Galaxy Tab GT-P1000
Firmware-Version 2.2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:33:16+00:00Added an answer on May 30, 2026 at 12:33 am

    To cover all your bases:

            background-image: -webkit-gradient(linear, left top, left bottom, from( #3c3c3c), to( #000000)) !important; /* Saf4+, Chrome */
            background-image: -webkit-linear-gradient(#3c3c3c, #000000) !important; /* Chrome 10+, Saf5.1+ */
            background-image:    -moz-linear-gradient(#3c3c3c, #000000) !important; /* FF3.6 */
            background-image:     -ms-linear-gradient(#3c3c3c, #000000) !important; /* IE10 */
            background-image:      -o-linear-gradient(#3c3c3c, #000000) !important; /* Opera 11.10+ */
            background-image:         linear-gradient(#3c3c3c, #000000) !important;
    

    Drop the !important if you don’t need it, I use it to override some default jQM styles that’s why and make sure you have background-clip: border-box; (which is default)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a mobile application using phonegap and jquery mobile. I have this
I am developing an application using jQuery mobile 1.1.0 RC1 and phonegap 1.5.0 I
I am developing an Phonegap & jQuery-Mobile Application for Android. After taking a photo
I am developing an app using phonegap for Android. I want this mobile application
I am developing an application using PhoneGap and jQuery Mobile. Now when the page
I am developing a PhoneGap application with JQuery mobile which requires geolocation data. Currently
Im developing a mobile application using phonegap and jquery mobile. I created the layout
I am developing a mobile application and I have a click function in jQuery
I am developing an application by using phonegap and jQuery Mobile. Phonegap recommends a
I am developing the application using jQuery Mobile 4.1. In my app, I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.