Click here to Skip to main content
15,302,472 members
Home / Discussions / Web Development
   

Web Development

 
QuestionRe: mail addresses in html pages... Pin
Joan M27-Mar-11 20:59
professionalJoan M27-Mar-11 20:59 
AnswerRe: mail addresses in html pages... Pin
AspDotNetDev28-Mar-11 19:27
protectorAspDotNetDev28-Mar-11 19:27 
GeneralRe: mail addresses in html pages... Pin
Joan M29-Mar-11 0:41
professionalJoan M29-Mar-11 0:41 
AnswerRe: mail addresses in html pages... Pin
Dalek Dave25-Mar-11 5:00
professionalDalek Dave25-Mar-11 5:00 
GeneralRe: mail addresses in html pages... Pin
Peter_in_278027-Mar-11 21:11
professionalPeter_in_278027-Mar-11 21:11 
GeneralRe: mail addresses in html pages... Pin
Joan M29-Mar-11 0:39
professionalJoan M29-Mar-11 0:39 
QuestionConsuming SOAP 1.1 WebService using Telnet Pin
NandoMan23-Mar-11 15:18
MemberNandoMan23-Mar-11 15:18 
QuestionPrinting issues in IE with framesets Pin
Gerben Jongerius23-Mar-11 5:04
MemberGerben Jongerius23-Mar-11 5:04 
On one of the webapplications I'm working on we have an option to open a popup for printing pages. This popup first gives you several options followed by a page with a frameset on it. Which is something similar to this:
<html>
  <head>
   <title>printing</title>
  </head>
  <frameset rows="100%,0">
    <frame src="message.html">
    <frame src="content-to-print.html" onload="self.foces(); window.print();">>
  </frameset>
</html>


Where the message.html contains the a text and is refreshed to a button to close the popup. The other frame contains the actual content that will be printed using javascript in the onload frame. The page being printed has some rather large (specifically wide) tables on it, which causes the content not to fit on the A4 its printed on. It looks as if IE does not rescale the content of the frame to fit the A4 printer output when using a frameset or something.

The weird part I can't figure out is that if I remove the frameset in a test it works and the content of the content-to-print.html page fits on the A4 paper. I changed it to something like this:
<html>
  <head>
   <title>printing</title>
  </head>
  <body>
    <div>Printing content</div>
    <iframe src="content-to-print.html" style="width: 0px; height: 0px" onload="self.foces(); window.print();">
  </body>
</html>


I've tried playing with the DOCTYPE from loose to strict as well as removing it all together. The loose and strict did have some positive effect but didn't remove the problem completely.

Now I know that using framesets is old school, but in this case its not that easy to remove them all. That would take to much time and affect to many parts of the web application. So how can I tell IE to print the exact same way when using a frameset as it does with the iframe solution. Is this at all possible.
AnswerRe: Printing issues in IE with framesets Pin
cjoki24-Mar-11 5:10
Membercjoki24-Mar-11 5:10 
GeneralRe: Printing issues in IE with framesets Pin
Gerben Jongerius24-Mar-11 22:31
MemberGerben Jongerius24-Mar-11 22:31 
GeneralRe: Printing issues in IE with framesets Pin
cjoki25-Mar-11 3:06
Membercjoki25-Mar-11 3:06 
Questionsomething very Strange in Webservice and windows-ce connection.... Pin
goldsoft19-Mar-11 19:20
Membergoldsoft19-Mar-11 19:20 
QuestionWidth of window and presentation Pin
Dalek Dave11-Mar-11 14:27
professionalDalek Dave11-Mar-11 14:27 
AnswerRe: Width of window and presentation Pin
Graham Breach11-Mar-11 23:04
MemberGraham Breach11-Mar-11 23:04 
QuestionTrusted sites in IE7 and 8 Pin
prakk889-Mar-11 0:20
Memberprakk889-Mar-11 0:20 
QuestionOut of Memory error in asp while fetching data from sql and display around 1,00,000 records Pin
priyaahh8-Mar-11 19:43
Memberpriyaahh8-Mar-11 19:43 
AnswerRe: Out of Memory error in asp while fetching data from sql and display around 1,00,000 records Pin
Dalek Dave8-Mar-11 21:40
professionalDalek Dave8-Mar-11 21:40 
AnswerRe: Out of Memory error in asp while fetching data from sql and display around 1,00,000 records Pin
R. Giskard Reventlov9-Mar-11 4:59
MemberR. Giskard Reventlov9-Mar-11 4:59 
QuestionAccessing local machine from web page Pin
pstsp91127-Feb-11 3:51
Memberpstsp91127-Feb-11 3:51 
AnswerCross post Pin
Not Active27-Feb-11 6:02
mentorNot Active27-Feb-11 6:02 
AnswerRe: Accessing local machine from web page Pin
Pete O'Hanlon6-Mar-11 4:54
mvaPete O'Hanlon6-Mar-11 4:54 
GeneralRe: Accessing local machine from web page Pin
GenJerDan6-Mar-11 5:22
MemberGenJerDan6-Mar-11 5:22 
JokeRe: Accessing local machine from web page Pin
Eddy Vluggen20-Mar-11 3:44
professionalEddy Vluggen20-Mar-11 3:44 
QuestionCSS Question on newly discover Syntax [modified] Pin
toikken23-Feb-11 11:33
Membertoikken23-Feb-11 11:33 
AnswerRe: CSS Question on newly discover Syntax Pin
musefan2-Mar-11 23:32
Membermusefan2-Mar-11 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.