Gradient background effect without images

Discussion in 'Web Design and Development' started by Haqq, Oct 9, 2010.

  1. Haqq macrumors member

    Joined:
    Sep 5, 2008
    Location:
    Toronto
  2. ergdegdeg Moderator emeritus

    ergdegdeg

    Joined:
    Oct 13, 2007
    #2
    Yes, but only with CSS3, which has limited support. Here's a tutorial on how to do it. Just google "CSS gradient" and you'll find loads of information.
     
  3. Haqq thread starter macrumors member

    Joined:
    Sep 5, 2008
    Location:
    Toronto
    #3
    Okay I did it but it doesnt work in FF but it does on Chrome?

    Can you guys test on your browser
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    Part of the problem is a missing semicolon in your CSS. On the regular background declaration. I also noticed you have some style tags inside the body tag, which isn't allowed. Also, no space after gradient.
     
  5. cube macrumors G5

    Joined:
    May 10, 2004
  6. Haqq thread starter macrumors member

    Joined:
    Sep 5, 2008
    Location:
    Toronto
    #6
    Got it! Thanks angelwatt.
     

Share This Page