works with IE but not Firefox

Giganews Newsgroups
Subject: works with IE but not Firefox
Posted by:  dangerd (duncanelli…@breathe.com)
Date: 26 Mar 2007

hi there,

I used css for a page, it worked but only in IE not in firefox.

What DOCTYPE whould I use for firefox.

the external stylesheet contains the following:
body {
    background-color: AEB4C0;
    border-width:thin;
    text-align:left;
    }

#container {
    margin-left: 0px;
    margin-top:30px;
    text-align:center;
    width: 95%;
    }

#work{
    height:400 px
    }
..overlap {
    float:right;
    width: 450px;
    height: 350px;
    background-image:url(../images/background2.gif);
    }
..sw {
    position: relative;
    top: -315;  left: 0; z-index: 2;
    }

..center {
    margin-top: 37.5px;
    margin-left:0px;
    text-align:center;
    }
..box2 {
    float: right;
    width: 450    px;
    height: 170 px;
    background-image:url(../images/background3.gif);
    background-repeat:no-repeat;
    text-align:center;
    margin-left:0px;
    margin-top:0px;
    margin-right:0 px;
    margin-bottom:10px;
    }
..box {
    display:inline;
    width: 390    px;
    height: 170 px;
    background-image:url(../images/background.gif);
    background-repeat:no-repeat;
    text-align:center;
    margin-left:0px;
    margin-top:0px;
    margin-right:0 px;
    margin-bottom:10px;
    }
..box, p {
    padding:10px;
    text-align:justify;
    }
..send {
    position:relative;
    top:15px;
    left:7px;
    display:inline;

Thanks

Replies