Problem with width in percentage in mozilla

Posted by lam3r4370 on Stack Overflow See other posts from Stack Overflow or by lam3r4370
Published on 2010-12-28T19:49:32Z Indexed on 2010/12/28 19:54 UTC
Read the original article Hit count: 175

Filed under:
|
|

I have problem with width in percentage in mozilla.

Firefox:http://img155.imageshack.us/i/prolemwidthper.png/

Opera:http://img209.imageshack.us/i/logowpopera.png/

Code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta name="author" content="adminite">

    <title>Untitled 2</title>
    <style>
    #cont {
    width:99.8%;
    height:125px;
    border:1px solid red;
    background-color:#1ea1de;
    margin: 0px 0px 0px 0px;
}</style>
</head>

<body>

<div id="cont">

</div>

</body>
</html>

© Stack Overflow or respective owner

Related posts about css

Related posts about problem