Table width in IE
This might be a simple question, but I'm having trouble with it: In my web
page, I have the following:
<head>
<!-- Stuff here -->
</head>
<body>
<header>
<div class="content-wrapper">
<!-- More stuff here... -->
</div>
</header>
</body>
where content-wrapper is in a css file and defines max-width: 960px. The
problem I'm having is that the max-width has no effect in IE8. In the
body, I have a table that I thought should be limited by the width defined
in the content-wrapper, but in IE8 it just ignores it (but it works in
Firefox).
I tried a couple of different things, with no success:
Added style="max-width:960px" to the
Added style="max-width:960px" to the <tr> that is giving me grief
Added style="width:400px" to the problematic <th> and <td>
None of those worked in IE! Any ideas? What am I missing?
No comments:
Post a Comment