New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

style="page-break-before:always not working


Post Reply New Thread Subscribe

 
Thread Tools
kdelucia

 
Member Since: Feb 02, 2007
Posts: 2
kdelucia is on a distinguished road

kdelucia is offline
I created a web page that is meant to be printed. It consists of a series of tables with page breaks between the tables. My code works perfect on IE on a PC and the pages break where they should. However, on Safari on OS X the page breaks aren't working. I've done some research and as far as I can tell this should work on Safari. Here is the line of code that should be doing the page break.

<p style="page-break-before:always;">a</p>

Earlier in my code I included:
<style type="text/css">

Does anyone have any pointers on how I can get the page break working?

Thanks!
QUOTE Thanks
kdelucia

 
Member Since: Feb 02, 2007
Posts: 2
kdelucia is on a distinguished road

kdelucia is offline
What I ended up using was @media screen and @media print. The page breaks only apply to print, not the screen and I needed to specify that.
QUOTE Thanks

Post Reply New Thread Subscribe


« iWeb help | database creation »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Thanksgiving Break is almost here! todd51 Schweb's Lounge 9 11-14-2006 06:30 PM
MacMame Stopped working.... sbatson OS X - Apps and Games 3 07-21-2006 10:51 PM
OSX 10.3 and Wireless USB suddenly stopped working adrian29uk Apple Desktops 0 02-07-2006 02:57 AM
Mic not working!! The Fly Apple Notebooks 3 10-05-2005 06:43 PM
Getting launchd working dr_springfield OS X - Development and Darwin 0 05-10-2005 02:40 PM

All times are GMT -4. The time now is 06:38 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?