Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Print rendering in IE10 is different?

Print rendering in IE10 is different?

Scheduled Pinned Locked Moved Web Development
htmlcssdata-structureshelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Osbahr
    wrote on last edited by
    #1

    I have created a page that displays label data in a 3xN array suitable for printing on Avery 5160 labels. A form feed, "&#12", is placed after each group of 30 labels. I tried using CSS "page-break-after: always", but it did not work as expected. For multiple pages worth of data, when printed or print previewed in IE8 and FF, the position and spacing of the 10 rows of labels on each page is constant. In IE10 the position of the first row is constant but the spacing between the first and second row of labels narrows on each page after the first page. This can be seen in the print preview and on the printed pages. The space between all of the other rows is still constant. Does anyone know an HTML or CSS tweak that might fix this?

    Thanx, >>>-----> MikeO

    W 1 Reply Last reply
    0
    • M Mike Osbahr

      I have created a page that displays label data in a 3xN array suitable for printing on Avery 5160 labels. A form feed, "&#12", is placed after each group of 30 labels. I tried using CSS "page-break-after: always", but it did not work as expected. For multiple pages worth of data, when printed or print previewed in IE8 and FF, the position and spacing of the 10 rows of labels on each page is constant. In IE10 the position of the first row is constant but the spacing between the first and second row of labels narrows on each page after the first page. This can be seen in the print preview and on the printed pages. The space between all of the other rows is still constant. Does anyone know an HTML or CSS tweak that might fix this?

      Thanx, >>>-----> MikeO

      W Offline
      W Offline
      Wombaticus
      wrote on last edited by
      #2

      Don't know if it'll help, but have you tried adding a neta tag to the page header such as <meta http-equiv="X-UA-Compatible" content="IE=9"/> (or "IE-8" if necessary.) This may, or may not, affect how the page renders on the screen...

      M 1 Reply Last reply
      0
      • W Wombaticus

        Don't know if it'll help, but have you tried adding a neta tag to the page header such as <meta http-equiv="X-UA-Compatible" content="IE=9"/> (or "IE-8" if necessary.) This may, or may not, affect how the page renders on the screen...

        M Offline
        M Offline
        Mike Osbahr
        wrote on last edited by
        #3

        Thanks for the response. I did find and try some meta tags suggested on other forums. The X-UA-Compatible that I found set content equal IE7, but it did not fix the problem. What finally worked was to use page-break-before instead of page-break-after. The results should have been identical for either style code, but they were dramatically different in IE10.

        -- Mike

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups