Header image stretches: not repeating X image!

Discussion in 'CSS' started by eclipsenow, Feb 5, 2009.

  1. #1
    Hi all,
    mightychurch.com/ has this really cool Expression Engine CMS / forum, and there's a lot I like about this site. But one thing in particular grabbed me. What's going on with the abstract header image? (Nice design BTW).

    It does not look like some sort of repeating png doing the repeat X trick (See how much I've learned about CSS! ) but something else is going on to make it "stretchy" and I think it mainly stretches in the middle. Any way I can replicate that for a SMF forum I'm trying to style?

    Edit to add:
    Also considering the header image... how wide is too wide.

    EG: mightychurch.com uses a header image that is 1300 px wide! Is that too wide?

    Also, there doesn't appear to be a LOT of fancy CSS on the header... I looked it up in Firebug and it just says...

     
    eclipsenow, Feb 5, 2009 IP
  2. My220x

    My220x Member

    Messages:
    624
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    35
    #2
    My220x, Feb 5, 2009 IP
  3. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #3
    There is just a 1300x135px image and the min width is set to 1300 so if the browser window is resized the image keep the width to 1300px.
    Use same css to get this result on your forum :
    #header img {
    min-width:1300px;
    width:100%;
    }
    img {
    border:0 none;
    }
    Code (markup):
     
    ExtremeData, Feb 5, 2009 IP