CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 26th, 2004, 12:37 PM
musti's Avatar
musti musti is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 25 musti User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 41 sec
Reputation Power: 0
[CSS] weird print bug in IE

if you check out this website you'll immediately understand what the problem is about.

The script I wrote, pulls pictures out of a database and displays them. I have a print feature (click the link that says: Ik wil de klassenlijst van **** afprinten).

With Css I check wether or not a picture can be displayed on this page or if it has to be forced onto another page, when printed.

Code:
<style type="text/css" media="print"> 

	table {
		page-break-before: auto;
	}
</style>


When you check the webpage, you'll notice this row gives problems in IE.
When I print the page from Internet Explorer: this row shows on the page, but not the picture that goes along with it.
When I print the page from Mozilla: this row does not show on the page, neither the picture that goes along with it. as it should be

Can someone help me? It is very important that the pagebreak is automagically forced when printed, because I can't guess the format on which people will print.

Last edited by musti : January 26th, 2004 at 12:40 PM.

Reply With Quote
  #2  
Old January 26th, 2004, 02:22 PM
musti's Avatar
musti musti is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 25 musti User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 41 sec
Reputation Power: 0
Code:
<style type="text/css" media="print"> 

	table {
		page-break-after: auto;
	}
</style>


Doesn't seem to work either

Reply With Quote
  #3  
Old January 26th, 2004, 03:57 PM
musti's Avatar
musti musti is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 25 musti User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 41 sec
Reputation Power: 0
Code:
.print table {
page-break-after: auto;
}

or
Code:
.print table {
page-break-after: auto;
}


neither

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > [CSS] weird print bug in IE


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT