Buy Sell Discuss UK Domain Names at AcornDomains.co.uk

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 12:43:00 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 14-08-2010, 10:45:41 PM     #1 (permalink)

 
woopwoop's Avatar
 
Join Date: Jan 2007
Posts: 1,586
woopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond repute

part printed page CSS

I have a very boring black and white page, nothing special at all.

Only a few divs, and each can vary in size depending on what's pulled from the mysql DB. I'm using php.

Basically, most of the time that I print the page, It prints nicely to 1 page where everything is nicely laid out. I have print.css and screen.css stylesheets specified (they happen to be the same).

But sometimes when I print a chunk from the middle of the page is missing or is cut off (not even to be shown on page 2).

I see that css has elements like:
display:block; page-break-before:always;

but I'm not sure that specifying a pagebreak in a div is the best thing for me to do as most of the time my pages are well laid out and only 1 page.

I'm just trying to find a way that should the page be longer, that all the content is printed across the 2 pages with nothing missing.

Has anyone run into this problem and may know a solution?
woopwoop is offline  
Old 14-08-2010, 10:54:35 PM     #2 (permalink)

 
woopwoop's Avatar
 
Join Date: Jan 2007
Posts: 1,586
woopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond reputewoopwoop has a reputation beyond repute

Added:

Very weird I've just been playing around with browsers and settings and Safari (Mac) prints everything by dividing the pages without skipping any content (which is what I wanted), but Firefox (Mac) doesn't play nice !
woopwoop is offline  
Old 14-08-2010, 11:10:47 PM     #3 (permalink)

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 2,507
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

You'll prob find its a ff issue then. I use opera myself as its pretty much the most strict of browsers. You may wanna goto the FF forums for a fix in a conditional.
__________________
Browse:
Skinner is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Dofollow Links jj1 Search Engine Optimisation 7 30-03-2009 12:17:16 PM
Parking vs for-sale landing page vs ? Edwin General Board 21 08-01-2009 02:33:55 PM
Link to a certain section of a page? How to? BFTUK Website Design 2 14-02-2006 12:33:08 PM

Domain Sponsor 2


All times are GMT. The time now is 12:43:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".