[Message Deleted]
-
[Message Deleted]
-
[Message Deleted]
I never heard of that.... Can you show us your code that crash IE while printing? we can test it in our side..
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
I never heard of that.... Can you show us your code that crash IE while printing? we can test it in our side..
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
Here is my code, with the css, it crashes in IE 6
<!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" > <script>var page_load_time_start = new Date();</script><script>var serverLoadTimeInfo ='<a title="Start:12/18/2007 8:38:12 AMEnd:12/18/2007 8:38:12 AM" style="cursor:help">0.0<a>';</script><script>var serverLoadTimeForCalc = parseFloat(0.0);</script><script src='/templates/includes/nav_javascript.js'></script><link rel='stylesheet' href='/Templates/master.css' type='text/css' /><script>email='jim.polewaczyk@philips.com';</script><script>IsDelegate = 'false';</script><script>security='0';</script><script>startPageVar='root';</script><script>serverLoad='12/18/2007 8:38:12 AM';</script><script>nav_flag='true';</script><script>xApp=parseInt('244');</script><script>intelliAccess='0';</script><script>cServer='http://localhost';</script><script src='/templates/includes/lib.js' type='text/javascript'></script><script src='/_includes/cookies.js' type='text/javascript'></script><script src='/business/service_metrics/navigation.js'></script><script src='/Templates/includes/site_data.js' type='text/javascript'></script><script type='text/javascript'>_page.startPage(startPageVar)</script> <head id="Head1"><title> SOLAAR </title><link rel="stylesheet" href="css/style.css" type="text/css" /> <script type="text/javascript"> </script> <style type="text/css"> body { font-size: 8pt; max-width:950px; width:950px; } .setWidth { width:100%; } .breadcrumbs { font-size:100%; } .questions { margin-top: 10px; font-size: 100%; width: 950px; max-width:950px; position: relative; height: auto; padding-bottom:5px; border-bottom:solid 1px; } .pageSettings { font-size:100%; } td label { white-space:nowrap; } .lastQuestion { margin-top: 10px; font-size: 100%; width: 950px; max-width:950px; position: relative; height: auto; padding-bottom:5px; } .errorImage { vertical-align:top; width:5%; display:inline; } .whiteBackground { background-color:White; } .silverBackground { background-color:
-
Here is my code, with the css, it crashes in IE 6
<!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" > <script>var page_load_time_start = new Date();</script><script>var serverLoadTimeInfo ='<a title="Start:12/18/2007 8:38:12 AMEnd:12/18/2007 8:38:12 AM" style="cursor:help">0.0<a>';</script><script>var serverLoadTimeForCalc = parseFloat(0.0);</script><script src='/templates/includes/nav_javascript.js'></script><link rel='stylesheet' href='/Templates/master.css' type='text/css' /><script>email='jim.polewaczyk@philips.com';</script><script>IsDelegate = 'false';</script><script>security='0';</script><script>startPageVar='root';</script><script>serverLoad='12/18/2007 8:38:12 AM';</script><script>nav_flag='true';</script><script>xApp=parseInt('244');</script><script>intelliAccess='0';</script><script>cServer='http://localhost';</script><script src='/templates/includes/lib.js' type='text/javascript'></script><script src='/_includes/cookies.js' type='text/javascript'></script><script src='/business/service_metrics/navigation.js'></script><script src='/Templates/includes/site_data.js' type='text/javascript'></script><script type='text/javascript'>_page.startPage(startPageVar)</script> <head id="Head1"><title> SOLAAR </title><link rel="stylesheet" href="css/style.css" type="text/css" /> <script type="text/javascript"> </script> <style type="text/css"> body { font-size: 8pt; max-width:950px; width:950px; } .setWidth { width:100%; } .breadcrumbs { font-size:100%; } .questions { margin-top: 10px; font-size: 100%; width: 950px; max-width:950px; position: relative; height: auto; padding-bottom:5px; border-bottom:solid 1px; } .pageSettings { font-size:100%; } td label { white-space:nowrap; } .lastQuestion { margin-top: 10px; font-size: 100%; width: 950px; max-width:950px; position: relative; height: auto; padding-bottom:5px; } .errorImage { vertical-align:top; width:5%; display:inline; } .whiteBackground { background-color:White; } .silverBackground { background-color:
I don't think this crash is caused by DIV only. there are a lot of things. 1) You shouldn't put <span> after </html>. 2) You shouldn't put the script tag between html tag and head tag. 3) The best way is that you should validate the html page with XHTML validator or other validators. I removed the span block after /html, script blocks and CSS block then it works without crashing.. so I believe that DIV might not be a problem..
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
I don't think this crash is caused by DIV only. there are a lot of things. 1) You shouldn't put <span> after </html>. 2) You shouldn't put the script tag between html tag and head tag. 3) The best way is that you should validate the html page with XHTML validator or other validators. I removed the span block after /html, script blocks and CSS block then it works without crashing.. so I believe that DIV might not be a problem..
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
Hi Michael, I found out the problem actually. I am not sure why this caused the problem in my code, in the divs with the class fieldsetQuestion and then fieldsetPicture, I had them both each at width:50%, I changed them to below 50% and now it doesnt crash anymore. Thanks a lot for your help though!