473,738 Members | 8,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print issue in IE 6, not IE 7

219 New Member
When I try to print a 'print version' of my page it looks fine in IE 7, but when I print in IE 6 the margins are all screwed up. The page itself looks the same in both browsers, it's just when I print the elements look bigger when I print from IE 6

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Online Performance Evaluation</title> <link href="oneColElsCtrHdr.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> <style type="text/css"> <!-- html { margin: 0; border: 1px solid red; } body { margin: 0; border: 1px solid green; } .style1 { font-size: x-small; } .style2 { font-size: large; color: #FFFF99; } .style13 {font-size: small} #mainContent{margin:0 20px;} #print_employee,#print_details,#eval_details{font-size:x-small; padding:10px;} .oneColElsCtrHdr #container{border:none;} .oneColElsCtrHdr #container #mainContent #perf_form .para { background-color: #CCCCCC; border: 1px solid #000000; font-size:x-small; padding:2px; } .oneColElsCtrHdr .reqFields { background-color: #FFFFCC; border: 1px solid #999999; padding: 2px; } .style17 { color: #CCCCCC; font-family: "Arial Rounded MT Bold"; font-size: large; } .style19 {font-size: x-small; font-weight: bold; } .style20 {font-size: x-small; font-style: italic; } .style21 { color: #FFFFFF; } .style23 {font-size: small; font-weight: bold; } #mainContent{color:#000;} #links .left{float:left;} #links .right{float:right} .clear{clear:both;} hr{background-color: #666;height:2px;} --> </style> </head> <body class="oneColElsCtrHdr"> <cfquery name="retrieveEval" datasource="Performance_Eval" dbtype="ODBC"> Select a.*,b.* from eval a,employee b where id='#URL.id#' and a.emp_id=b.emp_id </cfquery> <cfscript> function returnValue(value) { switch(value){ case 1:{ conv_value = "N/A"; break; } case 2:{ conv_value = "Unsatisfactory"; break; } case 3:{ conv_value = "Needs Improvement"; break; } case 4:{ conv_value = "Achieves"; break; } case 5:{ conv_value = "Excels"; break; } default:{ conv_value = ""; break; } } //end switch return conv_value; } </cfscript> <cfscript> function displayEval(){ WriteOutput("<i><h3>Performance Evaluation Details</h3></i> <div id='eval_details'> <p><u>Evaluation Details</u></p> <b>Date Submitted: </b>#DateFormat(date_submitted,'mm/dd/yyyy')# #TimeFormat(date_submitted,'HH:mm')#<br /> <b>Evalution Signed: </b>#iif(eval_complete eq 1,DE('Yes'),DE('No'))# </div> <br /> <div id='print_employee' > <p><u>Employee Section</u></p> <b>Employee ID:</b> #emp_id# <br /> <b>Last Name:</b> #last_name#<br /> <b>First Name:</b> #first_name#<br /> <b>Job Code:</b> #job_code#<br /> <b>Completed By:</b> #comp_by#<br /> <b>Performance Period:</b> #DateFormat(beg_perf_period,'mm/dd/yyyy')# - #DateFormat(end_perf_period,'mm/dd/yyyy')#<br /> </div> <br /> <div id='print_details'> <p><u>Annual Basic Requirements</u></p> <b>Certification:</b> #iif(cert_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>Compliance/Privacy Training:</b> #iif(compliance_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>Confidentiality Statement:</b> #iif(confident_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>Conflict of Interest:</b> #iif(conflict_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>CPR/ACLS Validation:</b> #iif(cpr_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>Education Record:</b> #iif(education_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>Professional License:</b> #iif(license_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>EOC Test Results:</b> #iif(eoc_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <b>Validation of Annual PPD:</b> #iif(ppd_onfile eq 1,DE('On File'),DE('N/A'))#<br /> <hr /> <p><u>Employee Performance</u></p> <b>Job Responsibility ##1:</b> #job_resp_1#<br /> <b>Job Responsibility ##1 Response:</b>#returnValue(job_resp_1_val)#<br /> <cfif job_resp_2 neq ''> <b>Job Responsibility ##2:</b> #job_resp_2#<br /> <b>Job Responsibility ##2 Response:</b> #returnValue(job_resp_2_val)#<br /> </cfif> <cfif job_resp_3 neq ''> <b>Job Responsibility ##3:</b> #job_resp_3#<br /> <b>Job Responsibility ##3 Response:</b> #returnValue(job_resp_3_val)#<br /> </cfif> <cfif job_resp_4 neq ''> <b>Job Responsibility ##4:</b> #job_resp_4#<br /> <b>Job Responsibility ##4 Response:</b> #returnValue(job_resp_4_val)#<br /> </cfif> <cfif job_resp_5 neq ''> <b>Job Responsibility ##5:</b> #job_resp_5#<br /> <b>Job Responsibility ##5 Response:</b> #returnValue(job_resp_5_val)#<br /> </cfif> <cfif job_resp_6 neq ''> <b>Job Responsibility ##6:</b> #job_resp_6#<br /> <b>Job Responsibility ##6 Response:</b> #returnValue(job_resp_6_val)#<br /> </cfif> <cfif job_resp_7 neq ''> <b>Job Responsibility ##7:</b> #job_resp_7#<br /> <b>Job Responsibility ##7 Response:</b> #returnValue(job_resp_7_val)#<br /> </cfif> <cfif competency_link neq ''> <b>Competency Link:</b> #iif(competency_link eq '',DE('None'),DE("<a href='#competency_link#'>#competency_link#</a>"))#<br /> </cfif> <hr /> <b>Current Year Goal ##1:</b> #curr_goals_1#<br /> <b>Current Year Goal ##1 Response:</b>#returnValue(curr_goals_1_val)#<br /> <cfif curr_goals_2 neq ''> <b>Current Year Goal ##2:</b> #curr_goals_2#<br /> <b>Current Year Goal ##2 Response:</b> #returnValue(curr_goals_2_val)#<br /> </cfif> <cfif curr_goals_3 neq ''> <b>Current Year Goal ##3:</b> #curr_goals_3#<br /> <b>Current Year Goal ##3 Response:</b> #returnValue(curr_goals_3_val)#<br /> </cfif> <cfif curr_goals_4 neq ''> <b>Current Year Goal ##4:</b> #curr_goals_4#<br /> <b>Current Year Goal ##4 Response:</b> #returnValue(curr_goals_4_val)#<br /> </cfif> <cfif curr_goals_5 neq ''> <b>Current Year Goal ##5:</b> #curr_goals_5#<br /> <b>Current Year Goal ##5 Response:</b> #returnValue(curr_goals_5_val)#<br /> </cfif> <b>Current Year Goals Comment: </b>#curr_year_goals_comm#<br /> <hr /> <b>Quality Improvement:</b> #returnValue(qual_improvement)#<br /> <b>Comment: </b>#qual_improve_comm#<br /> <br /> <b>Use of Resources:</b> #returnValue(use_resources)#<br /> <b>Comment: </b>#use_resources_comm#<br /> <br /> <b>Cultural Diversity:</b> #returnValue(cult_diversity)#<br /> <b>Comment: </b>#cult_diversity_comm#<br /> <br /> <b>Communications:</b> #returnValue(communications)#<br /> <b>Comment: </b>#communications_comm#<br /> <br /> <b>Teamwork:</b> #returnValue(teamwork)#<br /> <b>Comment: </b>#teamwork_comm#<br /> <br /> <b>Patient Satisfaction:</b> #returnValue(patient_satisfaction)#<br /> <br /> <b>Customer Service:</b> #returnValue(rating_pat_svc)#<br /> <b>Comment: </b>#rating_pat_svc_comm#<br /> <hr /> <p><u>Documentation Requirements</u></p> <b>HealthAlliance Policies:</b> #iif(ha_policies eq 1,DE('yes'),DE('no'))#<br /> <b>Attendance:</b> #iif(attendance eq 1,DE('yes'),DE('no'))#<br /> <b>Dress Appearance:</b> #iif(dress_appearance eq 1,DE('yes'),DE('no'))#<br /> <b>Comments:</b> #emp_doc_comm#<br /> <hr /> <p><u>Overall Performance</u></p> <b>Overall Performance: </b>#returnValue(overall_perf)#<br /> <b>Performance Improvement Plan Link: </b>#iif(perf_imp_plan_link eq '',DE('None'),DE("<a href='#perf_imp_plan_link#'>#perf_imp_plan_link#</a>"))#<br /> <b>Summary:</b> #summary#<br /> <hr /> <p><u>Development Goals for next review period</u></p> <b>Development Goals ##1: </b> #dev_goals_1#<br /> <b>Development Goals ##2: </b> #dev_goals_2#<br /> <b>Development Goals ##3: </b> #dev_goals_3#<br /> <b>Development Goals ##4: </b> #dev_goals_4#<br /> <b>Development Goals ##5: </b> #dev_goals_5#<br /> <br /> <hr /> <b>Employee Comments: </b>#iif(Len(emp_comment),DE(emp_comment),DE('none entered'))#<br /> <hr /> <p><u>Signatures</u></p> <b>Manager Signature: #manager_signature#</b><br /> <b>Employee Signature: #employee_signature#</b><br /> <b>Paper Signature: #iif(Len(signature_onfile) gt 0,DE('Yes'),DE('No'))#</b> </div> "); } </cfscript> <div id="container"> <div class="noprint"><a href="index.cfm"><img src="/Performance/img/performance_eval.gif" border="0"/></a></div> <!-- end #header --> <div id="mainContent"> <div id="submission"> <div id="links" class="noprint" > <br /> <a class="left" href="#" onclick="window.print();">Print this page</a> <a class="right" href="#" onclick="window.close();">Close this page</a> <br /> </div> <br class="clear"/> </div> <cfif URL.mode eq "email"> <cfoutput query="retrieveEval"> <CFMAIL TO= '#email#' CC='#session.mail#' FROM= "hal_webmaster@healthalliance.com" SUBJECT= "Evaluation Details" type="html"> #displayEval()# </CFMAIL> </cfoutput> </cfif> <cfif URL.mode eq "print"> <cfoutput query="retrieveEval">#displayEval()#</cfoutput> </cfif> <br /> <div class="noprint" id="submission"> <h4>Evaluation Details Requested</h4> <p>Thank you, <cfoutput query="retrieveEval">#session.givenname# #session.sn#. #iif(URL.mode eq "email",DE('The evaluation details have been sent to #email#'),DE('Please print this evaluation form'))#</cfoutput>.</p> <br /> <div id="links"> <hr /> <a class="left" href="#" onclick="window.print();">Print this page</a> <a class="right" href="#" onclick="window.close();">Close this page</a> </div> <br class="clear"/><br /> </div> </div> <div class="noprint" id="footer"> <p class="style1">Copyright &copy; 2008 - HealthAlliance Hospital</p> <!-- end #footer --></div> <!-- end #container --></div> </body> </html>
Sep 24 '08 #1
2 2101
dmorand
219 New Member
How can I post my code, it's looking all messed up
Sep 24 '08 #2
dmorand
219 New Member
How can I post my code, it's looking all messed up
Nevermind I'm a dummy. I didn't set my other stylesheet to media=screen so it was tinkering with my print stylesheet
Sep 24 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
2403
by: Michael Foord | last post by:
Here's a little oddity with 'print' being a reserved word... >>> class thing: pass >>> something = thing() >>> something.print = 3 SyntaxError: invalid syntax >>> print something.__dict__ {}
2
5127
by: jamesthiele.usenet | last post by:
I recently ran into the issue with 'print' were, as it says on the web page called "Python Gotchas" (http://www.ferg.org/projects/python_gotchas.html): The Python Language Reference Manual says, about the print statement, A "\n" character is written at the end, unless the print statement ends with a comma. What it doesn't say is that if the print statement does end with a
10
2869
by: David C | last post by:
We have a classic ASP intranet web site that has been around for a while. Our customer wants to be able to print an envelope from the contact name and address table. We have other reports that we display and print from the HTML generated by our ASP code, but have not been able to find any way to format a page and print to an envelope. Can anyone help? Thanks. David
4
3242
by: Fred | last post by:
I'm a newbie to JavaScript so be gentle. You know that funky IE margin issue that causes the right side of the page to get cut off when the user prints the html document? http://www.post-gazette.com/interact/20000120radin.asp Well… I'd like to warn/help the IE users of the issue before they print page. I want to combine a popup message with
7
6550
by: bclegg | last post by:
Hi, I have a Monitoring application that needs to output single line summaries to a local dot matrix printer loaded with line flow. ie. It will have exclusive use of the printer which is connected to LPT1. I need to get the normal number of lines to each page. ie 60 summaries onto a 66 line lineflow page Am I restricted to the Printdocument object and graphics printing or is there a way to do a single line text print?
3
11547
by: Jeff Mason | last post by:
Hi, I'm looking for a component or code which will allow me to print an existing PDF file from a VB.NET app. I need the ability to specify the PDF file and the printer name on which it is to print, then have the document, er, print. That's it.
2
9975
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default printer settings to print. I wanted the print preview to appear the same for all users (i.e. a default page size of 8.5x14 (legal) and portrait mode). Many users have different printers as their default (plotters etc..) and I found that various...
18
4500
by: =?Utf-8?B?SGVyYg==?= | last post by:
I'm using a ReportViewer in ASP.NET. From the development environment it works fine. When published and I try to open the page with the ReportViewer I get the error: An internal error occurred on the report server. See the error log for more details. Do I have something configured wrong? I do not knw where to find the error log to review it.
10
9121
by: Snoopy33 | last post by:
I have a DB that I developed on access XP (2002) and deployed over a year ago. No one has had problems printing any of the reports within the DB until we started loading 2007 on new computers. The access 2007 users cannot print one of the reports. This is maddening since I cannot duplicate the issue on any computer that runs 2003 or below. Is there something going on that I'm not seeing? Does anyone have any suggestions at all on...
1
1896
by: =?Utf-8?B?ZGF2aWR0aGV3ZWI=?= | last post by:
I have a recurring issue with a Print Spooler on a Windows 2000 Server. A print job will get stuck and take a large amount of the CPU time. I stop the print spooler in Services, go into Windows (or Winnt) | System32 | Spool | Printers and delete all jobs in that folder and restart the print spooler. This fixes the issue temporarily, but several days later, the same process occurs. Is there a way to trace where the stuck print job is...
0
8969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8788
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9476
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.