cdoggg94 Posted March 21, 2013 Share Posted March 21, 2013 Attached I have an image of a page that looks the way I want (jodyNormal.jpg). When I go to the print preview of the page, and when it prints, the div in the top right moves to the left. (jodyPrint.jpg) this is the CSS for that Div: #fertilizerCSS{ position:absolute; height:379px; width:397px; left:391px; top:134px; } Does anyone have an idea why this could be happening on this page ? Link to comment https://forums.phpfreaks.com/topic/275974-css-on-print-preview-changes/ Share on other sites More sharing options...
cdoggg94 Posted March 21, 2013 Author Share Posted March 21, 2013 My first thought was that the Div had the same name as one of the form elements, so I changed the name of the Div to #fertilizerCSS but it was not the issue. Link to comment https://forums.phpfreaks.com/topic/275974-css-on-print-preview-changes/#findComment-1420150 Share on other sites More sharing options...
cdoggg94 Posted March 21, 2013 Author Share Posted March 21, 2013 this is the rest of the css on the page. <style type="text/css"> body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: none; color: #000000; text-decoration: none; margin: 0px; padding: 0px; } #wrapper{ position:relative; height:100%; width:800px; margin:0px auto; } #header{ position:absolute; height:148px; width:309px; left:2px; top:14px; } #printPage2{ position:absolute; height:65px; width:50px; top:26px; left:645px; } #fertilizerCSS{ position:absolute; height:379px; width:397px; left:391px; top:134px; } #services{ position:absolute; height:632px; width:760px; left:0px; top:526px; } #clientInfo{ position:absolute; height:286px; width:384px; left:3px; top:170px; } </style> Link to comment https://forums.phpfreaks.com/topic/275974-css-on-print-preview-changes/#findComment-1420156 Share on other sites More sharing options...
Libellula Posted March 28, 2013 Share Posted March 28, 2013 Just a quick question, what program are you writing this in/ what are you printing from? I'm wondering if it's not specifically a coding issue but how the code is read when you send it to print... Link to comment https://forums.phpfreaks.com/topic/275974-css-on-print-preview-changes/#findComment-1421666 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.