need layers right at the top of page and bottom

Discussion in 'CSS' started by carlrichardd, Aug 26, 2006.

  1. #1
    if you click on the below link

    http://www.fresh-milk.co.uk/specialmoments_notlive/

    as you can see, trying to get the layer at the top,
    be at the top, and from the left hand corner to the right,
    and also the same for the bottom gray layer....

    please help........

    Carl....
     
    carlrichardd, Aug 26, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Carl,

    It is impolite and poor netiquette to cross post the same question to multiple forums. Since you're already being helped, people here who would help are duplicating the effort, wasting their time.

    gary
     
    kk5st, Aug 26, 2006 IP
  3. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #3
    In case you still didnt solve the issue: declare body and html as width 100% and absolutely position to and bottom div with top, and bottom values:

    body,html { width:100%; }
    div.top, div.bottom { position:absolute; }
    div.top { top:0px; width:100%; height:100px; }
    div.bottom { bottom:0px; width:100%; height:100px; }
     
    ccoonen, Aug 26, 2006 IP