I have some tabular content that is held within a div thus..
<div class="someDiv">
<table>
<tr>...</tr>
....
....
<tr>...</tr>
</table>
</div>
When I print using a print stylesheet with all items set to float:none !important;
and height:auto !important;
the table will only print one page worth of information as opposed to about 10 or so.
H开发者_StackOverflow社区as anyone come across this before?
The fix was to add
* { overflow:visible ! important; }
Could it be as simple as CSS syntax?
I see in this old article (where I first heard of this) they have a space between the exclamation point and the word important.
I also see a space here (section 3.1 is about important).
Does your CSS code have that space?
精彩评论