HTML Help
HTML Help Central . com

» Online Users: 142

0 members and 142 guests
No Members online
Most users ever online was 695, 02-16-2011 at 08:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2011
    Location
    Sac, CA
    Posts
    2

    linear gradient in css

    Hi all,

    I'm trying use a linear gradient for my background, but it's not working out. here is what I've got:
    Code:
    <style type="text/css">
        body {        
            background-linear gradient: (green, white); 
            font-family: sans-serif;
            font-size: large;
        }
    </style>
    any tips?

  2. #2
    Join Date
    Sep 2007
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    369
    Hi there GISdude,

    and a warm welcome to these forums.

    Try it like this...
    Code:
    
    body {        
        background-image:linear-gradient(to bottom,green,white);
        background-attachment:fixed;
        font-family:sans-serif;
        font-size:large;
     }
    http://www.htmlhelpcentral.com/messageboard/image.php?type=sigpic&userid=8698&dateline=1189772  724

  3. #3
    Join Date
    Aug 2011
    Location
    Sac, CA
    Posts
    2
    Many thanks coothead. I'm still getting under the hood, so to speak.

  4. #4
    Join Date
    Sep 2007
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    369

    No problem, you're very welcome.
    http://www.htmlhelpcentral.com/messageboard/image.php?type=sigpic&userid=8698&dateline=1189772  724

Similar Threads

  1. Issues with my gradient color javascript menu table
    By coyotez0007 in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 06-15-2011, 05:34 AM
  2. Gradient
    By Moresco in forum Graphic Design
    Replies: 2
    Last Post: 06-15-2003, 01:40 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1