On 9/19/05, Dennis Bixler <[EMAIL PROTECTED]> wrote:
> Is your XHTML Doctype the very first thing in your document?  IE is
> picky on not having anything else before it.
> 
> Dennis Bixler

Yes, here's my sample html/style:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">

html, body {
        margin: 0;
        font-size: 12px;
}
table {
border-collapse: collapse;
width: 100%;
}

#col1 {
        width: 20%;
        padding: 0 2.5%;
        background: red;
}

#col2 {
        width: 45%;
        padding: 0 2.5%;
        background: green;
}

#col3 {
        width: 20%;
        padding: 0 2.5%;
        background: blue;
}
</style>

</head>
<body>
<table>
        <tr>
                <td id="col1">left column.  Lorem ipsum dorem.</td>
                <td id="col2">center column.  Lorem ipsum dorem.</td>
                <td id="col3">right column. Lorem ipsum dorem.</td>
        </tr>
</table>
</body>
</html>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to