how to use HEIGHT 100% for background img in css or xhtml strict ?

Discussion in 'CSS' started by Shakil, Oct 27, 2010.

  1. #1
    hi

    I cant use height 100% for background img in css

    how to use it through css or xhtml strict valid way ... ?

    Thanks
     
    Shakil, Oct 27, 2010 IP
  2. Layoutzzz

    Layoutzzz Greenhorn

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Maybe you should set background image for body

    body
    {
    background: url('image.jpg');
    }

    Could you show up your code ?
     
    Layoutzzz, Oct 27, 2010 IP
  3. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Last edited: Oct 28, 2010
    Cash Nebula, Oct 28, 2010 IP
  4. style0

    style0 Peon

    Messages:
    108
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What are you trying to achieve with this?
     
    style0, Oct 29, 2010 IP
  5. Shakil

    Shakil Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    solved, thanks all :)
     
    Shakil, Oct 30, 2010 IP