WEB CSS Background gradient with text

Discussion in 'OT Technology' started by hurleyint1386, Mar 18, 2009.

  1. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    So I've got a problem with a site I'm working on. The composition I got has a gradient with text over it. That's not a problem, although when I want the page to resize according to the amount of text on it. How do I do that exactly?
     
  2. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    I might consider just having the designer change it to a solid background
     
  3. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    Don't specify a fixed width. Specify width: auto and it should do or at least do something similar to what you're requesting.
     
  4. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,652
    Likes Received:
    15
    Location:
    Atlanta

    .

    Unless you're going to make the site 800 pix wide, you shouldn't really define a width. You have to assume the worst and think that everybody is running 800x600 resolute. These people would have tough times on a site with fixed widths that are anything larger than 800. Liquid designs ftw
     
  5. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    Sorry, I should have mentioned this... The site background has a gradient pattern, then I've got an 800px wide centered container, and the gradient is within that
     
  6. Supergeek

    Supergeek New Member

    Joined:
    Jan 23, 2007
    Messages:
    1,855
    Likes Received:
    0
    Location:
    Colorado
    It's even worse, now... you have mobile devices to think about (iPhone, other mobile devices with narrow screens).

    I wonder which is the bigger potential market.... mobile devices, or antiquated 800x600 CRTs. I'm thinking people on smart mobile devices have more money than people using 800x600 CRTs... :rofl:
     
  7. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    nevermind, i just made it solid
     

Share This Page