Jump to content

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

Edited by cdoggg94
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>

 

 

Edited by cdoggg94
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.