Jump to content

Css on print preview changes


cdoggg94

Recommended Posts

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 ?

post-106045-0-23824000-1363871870_thumb.jpg

post-106045-0-92003800-1363871917_thumb.jpg

Link to comment
https://forums.phpfreaks.com/topic/275974-css-on-print-preview-changes/
Share on other sites


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>

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.