Sent by Adam Kuehn on 27 February 2003 16:04
Rijk van Geijtenbeek wrote:
>On Thu, 27 Feb 2003 08:23:52 -0800, Anthony Baker
[EMAIL-REMOVED]> wrote:
>>Am wondering why more people aren't just doing this.
>>
>>It would be soooo much easier to do a simple table structure,
>>with all the DIVs and whatnot within each cell.
>>
>>That said, would it be possible to bypass the table framework
>>when printing from a print stylesheet? Essentially removing
>>the table structure, so the content areas print one after the
>>other as they would in an all-CSS layout?
>
>Sure.
>
>@media print {
>table, tr, th, td {display: block; width: auto; height: auto; float:
>none; text-align: none;}
>}
Er, um... That wouldn't remove the table framework, but the entire
table. If the table is display: none; so are all it's children. Any
divs, etc. within the layout table wouldn't show up, either,
regardless of their individual display settings.
--
-Adam Kuehn