|
Posted by Jukka K. Korpela on 03/05/07 12:50
Scripsit Richard Formby:
>> <table>
>> <tr><td></td><td></td><td></td></tr>
>> </table>
>
> Only three cells? Doesn't look like "tabular" data to me :-)
Especially since the data content is fairly small. :-)
>> Is it possible that when I print the document, to reposition the
>> cells vertically.
>
> No.
In terms of CSS specifications, it actually is:
td { display: block; }
IE hasn't still learned to do this, so don't expect this to work on the WWW
in the next few years.
However, you could position the cells "absolutely" the way you like. Things
get a bit awkward then, especially since you would probably have to decide
on the heights and since the table, ripped naked by removing all of its
cells, might misbehave a little in rendering.
What you _can_ do effectively and easily with a table in CSS is to
_suppress_ printing of navigation blocks that are just a nuisance on paper
(and not much more on screen, someone might add). With
<table>
<tr><td class="navi">Some navi stuff here</td>
<td>Some real content here</td>
<td>The indispensable advertorials</td></tr>
</table>
you could have
@media print { .navi { display: none; } }
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|