www.webdeveloper.com
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    205

    resolved [RESOLVED] Page Break Not Working

    I cannot seem to get the page break to work. Here is my code.

    HTML Code:
    <html>
    <head>
    <link href="styles.css" rel="stylesheet" type="text/css">
    <link href="print.css" rel="stylesheet" type="text/css" media="print" />
    </head>
    
    
    <body>
    <div class="page">
    content
    </div>
    
    <div class="page">
    content
    </div>
    print.css code:
    HTML Code:
    .page { page-break-after:always; }

  2. #2
    Join Date
    Apr 2010
    Location
    Salem,Ma
    Posts
    619
    what browser? it seems to work fine for me

  3. #3
    Join Date
    May 2009
    Posts
    205
    i had it in a wrapper and that would not let it work - so it works fine now

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



Recent Articles