Development CSS Background image

Discussion in 'Software' started by Lazlow, 17 Dec 2006.

  1. Lazlow

    Lazlow I have a dremel.

    Joined:
    8 Aug 2003
    Posts:
    1,464
    Likes Received:
    0
    I'm trying to get a background image to fill the whole of a column, instead of appearing just to the end of the text within the column.

    Here's the HTML file and here's the CSS.

    Any ideas how I get the whole of the image to appear, instead of just a portion of it? I've tried calling the image within the HTML and changing the Z index to -1, but the positioning was a nightmare. So I'd like to have it as a background image...
     
  2. Mary Jo

    Mary Jo oh lolz

    Joined:
    13 Oct 2004
    Posts:
    651
    Likes Received:
    1
    Specify a minimum height.
     
  3. Lazlow

    Lazlow I have a dremel.

    Joined:
    8 Aug 2003
    Posts:
    1,464
    Likes Received:
    0
    Thanks! I awoke this morning and I thought the exact same thing - proves that sleeping on something works.
     
  4. Lazlow

    Lazlow I have a dremel.

    Joined:
    8 Aug 2003
    Posts:
    1,464
    Likes Received:
    0
    Thanks for the tip, I specified a width originally, but completely forgot about height. Odd I know. And so far it's validating CSS, XHTML Strict, WAI etc. and IE likes it.
     

Share This Page