NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Problems with Print CSS Crashing IE in Windows

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 10-07-2005, 11:27 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Sep 2005
Posts: 6
mcdzinr is an unknown quantity at this point
 



Question Problems with Print CSS Crashing IE in Windows


I am hoping someone can assist me. I have 3 links to style sheets set up within my html documents, 2 of which are media type "screen" and one that is "print". Whenever I try to do a print preview OR print the page in IE, it crashes. However, if I remove "screen" from the two screen based style sheet links, and leave the "print" media type, the print preview works fine, but my layout is, of course, incorrect. Can anyone assist me? Is there a browser bug in IE for Windows that is causing this?

This works (but the page layout is a mess):
<link href="css/style1.css" rel="stylesheet" type="text/css" />
<link href="css/style2.css" rel="stylesheet" type="text/css" />
????: NamePros.com http://www.namepros.com/programming/129816-problems-print-css-crashing-ie-windows.html
<link href="css/print.css" rel="stylesheet" media="print" type="text/css" />

This crashes the IE on Windows browser:
<link href="css/style1.css" rel="stylesheet" media="screen" type="text/css" />
<link href="css/style2.css" rel="stylesheet" media="screen" type="text/css" />
<link href="css/print.css" rel="stylesheet" media="print" type="text/css" />

I appreciate any help someone can provide on this.
mcdzinr is offline  
Old 10-08-2005, 01:04 AM   #2 (permalink)
Domains my Dominion
 
sdsinc's Avatar
Join Date: Aug 2005
Location: Web 1.0
Posts: 9,558
sdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatnesssdsinc Has achieved greatness
 


Third World Education Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Animal Rescue Animal Cruelty AIDS/HIV Animal Rescue Wildlife Breast Cancer Animal Rescue Wildlife
Well even if it's a bug a well-behaved program should not crash.
Don't believe Bill when he says "it's not a bug it's a feature"
Do you have a URL so we can check ?
I use Opera but I also have Konqueror, Firefox and others (*nix platform).

Anyway found this on Google but no idea if it relates to your issue:
Quote:
I've found bugs with printing that when dealing with complex floating elements and layers that bringing up the print window crashes. The only way to make IE not crash was to add a print stylesheet that makes one of the floating layers display:none;
sdsinc is offline  
Old 10-08-2005, 09:38 AM THREAD STARTER               #3 (permalink)
New Member
Join Date: Sep 2005
Posts: 6
mcdzinr is an unknown quantity at this point
 



I think it actually might be fixed now that I removed the float from one of the main divs. However, I now need to make sure things appear on the page, but that is fixable. Gotta love the browser wars. Everything is BEAUTIFUL in Safari, but awful in IE for Windows. Go figure, huh?

Thanks for your help! If I have any further problems with the browser crashing, I'll post another message in hopes someone can help.
mcdzinr is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 02:24 PM
CGI/Perl FormMail...Won't Work! CGYFlames03 CODE 4 06-29-2005 02:30 AM
2 Huge Name Forsale Vegas Entertainment Domains For Sale - Make Offer 9 09-21-2004 03:37 PM
css problems with ie, and a couple other things thecatat Programming 0 08-23-2004 06:16 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:07 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger