Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Print page in landscape with CSS and IE11

Posted on 2015-02-16
1
Medium Priority
?
1,039 Views
Last Modified: 2015-05-06
I can't seem to get CSS landscape printing to work with IE11.  It does work with Chrome using the following:  

  <style>
        
        @media print
  {
  .yourheader, .yourfooter {display:none;}
  @page {size: landscape; font-family:Calibri;}
  }
    </style>

Open in new window


I've tried multiple articles on this, but most involve using a filter which is no longer supported in IE.  Any ideas?  Thanks
0
Comment
Question by:Martin Bertram
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 2000 total points
ID: 40612616
In IE I doubt you are going to solve it except to convert it to a landscape pdf.

Cd&
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

578 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