Previous Message
Next Message

Problem in Opera 7

Sent by RODrigo_CASTilho_Galvão_Ferreira? on 17 September 2004 18:06


Hi people,

Which is the problem in the CSS of the HTML below not to function
correctly in Opera?



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>Menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {
        font: 11px Verdana, sans-serif;
        color:#000
}

ul#nav {
        float: left;
        margin: 0;
        padding: 0;
        list-style-position: outside;
        list-style-image: none;
        list-style-type: none;
}

ul#nav li {
        float: none;
        display: block;
        margin: 0;
        padding: 0;
        width: 174px;
}

ul#nav li a {
        display: block;
        margin: 0;
        padding: 0;
        width: 174px;
        height: 25px;
        padding: 6px 0 0 25px;
        color: #FFF;
        background-color: #F00;
        font-size: 11px;
        text-decoration: none;
        border: 1px solid #000;
}html>body ul#nav li a {width: 147px; height: 19px}
</style>
</head>
<body>

<ul id="nav">
        <li><a href="#">Item 1</a></li>
        <li><a href="#">Item 2</a></li>
        <li><a href="#">Item 3</a></li>
</ul>

</body>
</html>

Thanks.

Regards




-- 

RODrigo CASTilho Galvão Ferreira
www.rod.cast.nom.br
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: