Kristen (kritof) wrote in webtech,
Kristen
kritof
webtech

CSS problem

I am having some problems setting up a website using CSS. Below I put the code for two divs, one above the other. For some reason, the second will not span the entire width of the screen in Windows IE6. It goes almost all the way and then stops. I've had this same problem on other websites too. Any advice? Thanks!!!!

div.top  

  {

  text-align: center;

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 227px;

  }



div.top2

  {

  background-color: #A2A09D;

  text-align: center;

  line-height: 1;

  position: absolute;

  top: 227px;

  left: 0;

  width: 100%;

  height: 155px;

  }

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 0 comments