#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    2
    Rep Power
    0

    [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. #2
  3. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    Possibley. I haven't read this fully, but this may give an answer: paged media
    HTH

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    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.

    __________________
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    122
    Rep Power
    11
    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
  6. #4
  7. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    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>
    Snippet taken from www.w3.org -> you may have heard of them

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    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.

    __________________
  8. #5
  9. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    122
    Rep Power
    11
    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
    Helping people will increase your experience & knowledge ! Help them like they help you

IMN logo majestic logo threadwatch logo seochat tools logo