Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE is splitting a line in two when printing

Status
Not open for further replies.

RedRobotHero

Technical User
May 2, 2003
94
CN
When I print a web page in IE, it splits the last line of text on a page horizontally, printing the top half on one page, and the bottom half on the next page.

How can I change my page so that IE prints it correctly?

I'm in the midst of making the print style sheet for this site.
 
Could the problem be because the offending text is within a div within a div? Because Netscape is only printing the first page.

I've assigned both the inner and outer div
Code:
float: none;
but that doesn't fix it.
 
Well, I've fixed the Netscape problem. The trouble was the outside div was in abolute positioning, so I made that relative for the print CSS, and it works it Netscape. But it still has the same problem with IE.
 
I didn't think I was trying to do anything fancy. You would expect that not making one line per page unreadable would be the default status for IE. I created this problem with HTML and CSS, and I would like to fix it the same way.


I'll put together a stripped-down version of the problem page for y'all to comment on.
 
In print preview it says the margins are 7.5mm perhaps you can tweak this setting?

----------
I'm willing to trade custom scripts for... [see profile]
 
Well, I fixed it for IE, (the
Code:
top
of the outer div needs to be equal to 0) but I'm still working on Netscape's tendency to cut off the right-hand side.

Stormbind: Can I control that setting? I assumed that would be controlled on the client's end.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top