Solved

landscape printing of page with writing mode tb-rl, tried works for text in the div but not for HTML <table> How to get it worked for <table> Urgent!!!

Posted on 2003-10-30
6
1,804 Views
Last Modified: 2012-06-21
Hi,

 I tried the solution for the same question asked here before I tried that
div.page class and writing mode:tb-rl

When I have a normal text in the <div> It works absolutely fine

Here is the sample code I am trying

<html>
<head>
<style type="text/css" media="print">
div.page  {
writing-mode: tb-rl;
height: 80%;
margin: 10% 0%;
zoom:0.65;
}

div.pgtable {
margin-right: 80pt;
filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=1);
}
</style>
</head>
<body >

<div class ="page" >
sdfsfffffffffffffffffffff
gggggggggggggggggggggggg
vvvvvvvvvvvvvvvvvvvvvvvvvvv
<table  class="pgtable" border="1" cellspacing="2" cellpadding="2" bordercolor="Purple" >
<tr >
    <td class="pgtable">First Cell in first row</td>
    <td class="pgtable">Second Cell</td>
    <td class="pgtable">Third Cell in first row</td>
</tr>
<tr >
    <td class="pgtable">First Cell in row 2</td>
    <td class="pgtable">Second Cell</td>
    <td class="pgtable">Third Cell in row 2</td>
</tr>
</table>

</div>



</body>
</html>

It works absolutely fone for text but no effect on table


Can anybody please help me with this problem as I am more concerned with <table> as my data is generated dynamically in HTML <table> only

PLease help as soon as possible

Thanks in avance

Regards
ssdanu
0
Comment
Question by:ssdanu
6 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 300 total points
ID: 9660088
Change the stylesheet to this:

table.pgtable {
margin-right: 80pt;
filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=1);
}

div.pgtable doesn't exist ...
0
 
LVL 15

Expert Comment

by:VincentPuglia
ID: 9661487
<table style='filter= progid:DXImageTransform.Microsoft.BasicImage(rotation=1);'  class="pgtable" border="1" cellspacing="2" cellpadding="2" bordercolor="Purple" >

it doesn't seem to like being within style tags.
check at msdn.microsoft.com
0
 
LVL 6

Expert Comment

by:ren_b
ID: 9728768
change the style media from "print" to either "screen" or "all" and its fine.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Searchbox Branding 11 45
css, html 6 51
media queries min-width in bootstrap not being read properly 14 48
Error in script 11 47
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now