homepage Welcome to WebmasterWorld Guest from 54.205.247.203
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
Page Break while Printlng Using JSS and CSS in HTML
dsssk




msg:1179415
 4:14 am on Aug 27, 2001 (gmt 0)

hai All,
I am having same Problem in Printing HTML Page in Netscape Browser.
Please see the Following Code.

<span class="code">

<html>
<head>
<title>Page Break</title>
<style type="text/css">
P { page-break-after: always }
</style>
</head>
<body bgcolor="ffffff">
<center> <p>
Page Break<br>
<hr width="400">
This is a way to page break after each ending Paragraph Tag.<br>
Page 1
</p>
<p>Page 2</p>
<p>Page 3</p>
<p>Page 4</p>
</center>
</body>
</html>
</span>

Here I am using CSS to insert the Page Break in HTML,
This Code is working fine in "Internet Explorer" Browser,
but if I use the same code in "Netscape Browser" it is NOT
Can any one Help I this
Regards
D S S Sampath Kumar

 

tedster




msg:1179416
 8:09 pm on Aug 27, 2001 (gmt 0)

Welcome to Webmaster World, Sampath.

The code for forcing a page break is CSS-2, and Netscape does not yet support it, not even in version 6. I wish I could offer happier news, but at least you can relax about making it work in Netscape; it won't!

Whenever most browsers support CSS-2 we will have a better word in terms of printers and other devices. But for now, I usually create a downloadable file for printing, such as a PDF or RTF. There just isn't enough cross-browser control otherwise.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved