IE Printing Bug white-space:pre

by @jehiah on 2006-02-13 20:02UTC
Filed under: All , CSS , IE

When Internet Explorer encounters a tag with the style white-space:pre inside a table, it will only print the first line even though it renders properly in the browser.

example page

Give the following html in a HTML 4.0 transitional document IE will display both lines of text in the browser, but when you print it will only show the first line.

<table border="0"><tr><td>
<p style="white-space:pre;">
line 1 of text
line 2 of text

Affected Browsers

  • Internet Explorer 6.0
  • Internet Explorer 7.0b2
Subscribe via RSS ı Email
© 2023 - Jehiah Czebotar