Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Data in field is missing in IE7 print preview only

Posted on 2007-10-07
10
Medium Priority
?
664 Views
Last Modified: 2013-12-08
I have an Access driven page at http://www.webster-info.org/Syllabi.asp?CID=2575 that does a print preview properly in IE6 and FF 2+ but in IE7 the instructor info is missing. That info is in a div named sys2 that I am not modifying for printing purposes, plus many other fields on that page are also a sys2 div and they show up in print preview for all browsers. What disappears is the instructor's name, phone and email. Other syllabi do not have this problem. Any suggestions?
0
Comment
Question by:LarryDAH
  • 3
  • 2
  • 2
  • +1
9 Comments
 
LVL 3

Expert Comment

by:frindo
ID: 20032313
I tried it in my IE7 which I rarely used and the same issue occurred. It seems to be a problem with the way that IE7 parses through the HTML. Can you give me a link to a syllabus where the name and instructor show up in the print preview? Also, do you use some sort of command interface to input the data?
0
 
LVL 5

Expert Comment

by:Synthetics
ID: 20032938
Comes up for me.

Name: Coon, Ken
Phone:501-224-0263 ext. 117 (wk) 501-224-1711 (hm)
Email: kencoon@sbcglobal.net
0
 

Author Comment

by:LarryDAH
ID: 20033374
If you go to http://www.webster.edu/littlerock/ and select Schedules on the right side this one is HRDV 5630. There are others that you can look at for comparison.

Synthetic, you mean you can see the instructor info in IE7 in print preview? It does show up in the regular screen but not print preview.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 5

Expert Comment

by:Synthetics
ID: 20034225
Ah I see, misread the question (obviously). As frindo says it must be to do with how IE7 is parsing the code, and I suspect it is confusion arising from the colspans. It does look nicer the way it is, but maybe you'll have to sacrifice appearance for the printability. You could probably manage it with some divs and some funky styling, but it's really not worth the effort.

Also, what's with all the empty paragraphs?
0
 

Author Comment

by:LarryDAH
ID: 20034318
Unfortunately the layout is dictacted by a template the home campus came up with in Word format. I thought I did pretty good reproducing it in html and css. I am not sure what problem it could have with the colspans since the syllabi.asp page is a template and the data is plugged in from the db based on the CID for each syllabus. One issue I do see is that the lines in the paragraphs are not breaking like they should. That usually happens when someone copies and pastes from Word into the RTF textbox I have in the web form they use to build the syllabus. Usually I have to go back into the syllabus and edit it one section at a time to remove the crap Word puts in the background. It could be that something in that code is screwing up the print preview function but I cannot imagine how. Will edit the line breaks later today.
0
 
LVL 3

Expert Comment

by:frindo
ID: 20034807
So I compared the page you linked to in the initial question with http://www.webster-info.org/Syllabi.asp?CID=1590 and the only discernible difference is the fact that the phone number in the one that is not working is much longer than the other. Can you try to cut off a portion of it and see if it works?
0
 

Accepted Solution

by:
LarryDAH earned 0 total points
ID: 20035133
friindo, I shortened the phone number info and that did not help, I did find the solution tho. While editing the phone number I looked at the rest of the code and saw that in the Course Policy section the instructor had cut and pasted from Word. There were 3 lines of code for every one of info. I cleaned all that out and now the page displays properly in IE7 in print preview and the lines do not run off the edge of the page like before. Thanks for all your suggestions,
0
 
LVL 1

Expert Comment

by:modus_operandi
ID: 20063050
Closed, 125 points refunded.
modus_operandi
Community Support Moderator
0
 
LVL 1

Expert Comment

by:modus_operandi
ID: 20063051
Closed, 125 points refunded.
modus_operandi
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Each password manager has its own problems in dealing with certain websites and their login methods. In Part 1, I review the Top 5 Password Managers that I've found to be the best. In Part 2 we'll look at which ones co-exist together and why it'…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question