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 11:59 AM
|
|
|
This post originated from an RSS feed registered with Java Buzz
by Chris Winters.
|
Original Post: Pagebreaks in HTML? Get out!
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/search/registrar.php?domain=jroller.com®istrar=sedopark
Feed Description: Chris Winters on Java, programming and technology, usually in that order.
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Chris Winters
Latest Posts From cwinters.com
|
|
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!
|
|