I’d like to show a div that has a background-color with the height and width set to 100% but no content. Is it possible to do that without putting a inside?
Edit: Thanks to Mark Biek for pointing out that empty div with width and height styles shows how I’d expect. My div is in a table cell, where it does not show.
<table style='width:100%'> <tr> <th>Header</th> <td><div id='foo'></div></td> </tr> </table>
This seems to work in Firefox, Safari, IE6, & IE7.