The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Repeating Background Problem

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #22942

    Hey all,

    A little new to this CSS stuff so I apologize if this question has been asked before. Just refer me to the answer if it has already been asked.

    Anyway, I’m going step-by-step through Chris’ converting PSD to HTML/CSS in hopes of getting a nice custom design for WordPress. I encountered a problem already!! I need a background that fades from gray to black and it also has an overlay of diagonal stripe pattern. When I go to crop an area (32px 700px) it repeats but not anything like I need it to. I have attached the mock up for you to see what I mean. I also need the bottom to always be black so when you get down to the footer it is always black by the time you reach that.

    Also, does anyone know how American Eagle Outfitters ( ) is able to put an image behind their main content so that it looks like it’s peaking out from both sides? It looks like one large image but I don’t think that would be very CSS friendly? Maybe I’m wrong…probably so. Thanks so much in advance for your help.



    The American Eagle site is using a 1500×1500 background image with eagles in strategic spots. … g_main.gif


    With regard to your mock-up, you could create a background image like using your gray lines fade to black. Make it large enough like they did (1500×1500), then also supply a default background-color of black so if you have a page that scrolls past where your gray fades to black, then the background will just be black from there on.

    body {
    background: url(myGrayLinesFade.png) #000 no-repeat;

    Hey, thank you!! I’ll give it a try.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.