The Artima Developer Community
Sponsored Link

Perl Buzz Forum
Pagebreaks in HTML? Get out!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Chris Winters

Posts: 931
Nickname: cwinters
Registered: Jul, 2003

Daytime: Java hacker; nighttime: Perl hacker; sleeptime: some of both.
Pagebreaks in HTML? Get out! Posted: Mar 19, 2004 12:30 PM
Reply to this message Reply

This post originated from an RSS feed registered with Perl Buzz by Chris Winters.
Original Post: Pagebreaks in HTML? Get out!
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/raw/cwinters_perl.rdf
Feed Description: Chris Winters on Perl, programming and technology
Latest Perl Buzz Posts
Latest Perl Buzz Posts by Chris Winters
Latest Posts From cwinters.com

Advertisement
Specifying page breaks for printing using CSS - I'd heard of this before but never tried it. Seems to work with Safari, although not with the style attached to an IMG tag. Using it with a DIV seemed to work best. Here's an example where I've got four yahoo maps images, two per page:
<div align="center">
  <img src="map_4.jpg" />
  <br clear="all" />
  <img src="map_3.jpg" />
  <br clear="all" />
</div>
<div align="center" style="page-break-before:always">
  <img src="map_2.jpg" />
  <br clear="all" />
  <img src="map_1.jpg" />
</div>

Read: Pagebreaks in HTML? Get out!

Topic: Pagebreaks in HTML? Get out! Previous Topic   Next Topic Topic: Installing Gentoo on a Fortress 9100

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use