Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6931381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:34:11+00:00 2026-05-27T11:34:11+00:00

I have a golf score card generator. Structurally the page has a div of

  • 0

I have a golf score card generator. Structurally the page has a div of class .printarea wrapping a 1072px wide table.

I have gradually been getting it so printing presents a single page in landscape orientation in all major browsers.

In Firefox if rotation and scale are specified on BODY then scale fails to work. So I moved the rotation to the DIV containing everything else. This achieved rotation but offset the table so that some cropping occurs on the right side (bottom of table) and top (right side of table).

I attempted to correct this with margins and with absolute positioning but this resulted in small disjointed pieces of the table shunted to a second page. Reducing scale even to tiny proportions never resolves the second page placement.

Playing with origin settings I eventually get to position:absolute; -moz-transform-origin: 400px 900px; This loses part of the top of the table (left side of page) and displaces the last two rows despite the fact that the foot of the table (right side of page) is easily 3 inches from edge of paper. Scaling down even to tiny proportions does not correct the displacement.

Here’s a static copy of one card: http://egolfplan.com/example.html

At end of post I will add screenshots of PDFs from printing.

Current CSS

<style type="text/css" media="print">
    BODY {
        width:100%;
        height:100%;
        -webkit-transform: rotate(-90deg) scale(.68,.68); 
        -moz-transform:scale(.48,.48);
         zoom: 60%;
    }
    .printarea {
        width:100%;
        height:100%;
        -moz-transform:rotate(-90deg);
    }
    @page {margin: 0;}

 </style>

This is scaled to 68%

enter image description here

Scaled to 48%

enter image description here

-moz-transform-origin: 400px 900px;

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:34:12+00:00Added an answer on May 27, 2026 at 11:34 am

    In general, I believe that rotating via CSS is unreliable given varying browser implementations, especially in your case since you are using browser specific properties.

    I would do one of the following.

    1. Use a robust javascript library such as jQuery Rotate
      (http://code.google.com/p/jquery-rotate/) instead of CSS.

    2. Write some
      server side code that actually generates an image of this score
      card, which can be readily scaled or rotated. PhP can do this for instance.

    3. Change your design to
      avoid having vertical text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table strcuture (golf score card) as follow: HoleID int CourseID int
I have an HTTPS page which has an iframe src=https://.... from a 3rd party
Hope this is possible- Have a table like so: Car_ID Brand Model Year ----------------------------------
I would like to use PyroCMS for a golf company website. PyroCMS have very
I have following code in my application. NSData *data=[NSData dataWithContentsOfURL:[NSURL URLWithString:pathOfThumbNail]]; pathOfThumbNail has following
I have a purchased database with non-zero-padded alphanumeric golf course numbers like ZZ-1, ZZ-2,
I have been taking over responsibility for a site for a golf club when
I have a forloop that has a call to a function inside of it.
Using the XML library, I have parsed a web page basicInfo <- htmlParse(myURL, isURL
I have an Entity like this: public class Category { public int classid {get;set;}

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.