I have some trouble with printing a div.
I'm generating different tables with a dropdown list, these tables are generated in the same <div>
, that I then use to print.
<select id='lists'>
<option value='1'>table 1</option>
<option value='2'>table 2</option>
<option value='3'>table 3</option>
</select>
When I select option 1 I want the table to be printed size: portrait;
, but when I select 2 or 3 I want it landscape size: landscape;
.
Is there a way to do this with css?
Thanks