|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[CSS] Rotating a page 90 degrees?
I want to display a page on a Pocket PC so I can go around to inventory and update quantities without having to run back and forth from the computer.
However, the pocket pcs are designed so the aspect ratio is really 3:4, so you get less width than height, making it hard to fit content in. My question: is there a property that lets me just rotate a page 90 degrees, no questions asked? I want everything as it is, just rotated. I looked into properties like layout-flow, no help there. Any solutions? |
|
#2
|
||||
|
||||
|
Possibley. I haven't read this fully, but this may give an answer: paged media
HTH
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#3
|
||||
|
||||
|
lol hilarious,
if that excists im santaclaus . I never heard of it m8 was a nice dream though hey
__________________
Helping people will increase your experience & knowledge ! Help them like they help you
|
|
#4
|
||||
|
||||
|
Like I said Santa, don't know whether it works or not, but here is an example:
Code:
This example will put all tables on a right-hand side landscape page (named "rotated"):
@page rotated {size: landscape}
TABLE {page: rotated; page-break-before: right}
The 'page' property works as follows: If a block box with inline content has a 'page' property
that is different from the preceding block box with inline content, then one or two page breaks are inserted between them,
and the boxes after the break are rendered on a page box of the named type. See "Forced page breaks" below.
Example(s):
In this example, the two tables are rendered on landscape pages (indeed, on the same page, if they fit),
and the page type "narrow" is not used at all, despite having been set on the DIV:
@page narrow {size: 9cm 18cm}
@page rotated {size: landscape}
DIV {page: narrow}
TABLE {page: rotated}
with this document::
<DIV>
<TABLE>...</TABLE>
<TABLE>...</TABLE>
</DIV>
![]() |
|
#5
|
||||
|
||||
|
Ho Ho Ho Ho !
I was already wondering why i got a fat belly and my laughed changed into ho ho ho... and suddenly i was dressed all red with a big cap on my head 'i love santa'. Then i saw those little guys work on all kinds of toys. lol |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > [CSS] Rotating a page 90 degrees? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|