CSS problem

    Date: 08/09/05 (WebDesign)    Keywords: css, web

    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;

      }

    Source: http://www.livejournal.com/community/webdesign/952292.html

« php style switcher tutorial... || when websites go horribly... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home