Results 1 to 6 of 6

Thread: The background of the page does not print

  1. #1
    Join Date
    May 2009
    Posts
    763

    The background of the page does not print

    Hi,
    I had created some basic sites in order to complete my css course. In my site one things is not working. When I give print command the background is not coming. Second how can I cause the page break after a number of lines. In my site I am not able to remove the URL that appears in the header of the page. Sometime there are repeated the in the web page. How to fix that issue.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,010

    Re: The background of the page does not print

    This is because you have to change the settings in your browser. That's normal, background colors are not printed by default, you must change it in your browser options. In Internet Explorer: Tools > Internet Options > Advanced and tick the online printing. But the same has to checked in Firefox also. In Firefox: File > Page Setup > Mark Cross Print Background (colors and images)

  3. #3
    Join Date
    May 2008
    Posts
    2,302

    Re: The background of the page does not print

    By adding up the page break tags in your script you can enable that. You can use the properties page-break-after and page-break-before in order to insert a break after a number of lines. Try to get a cheat sheet of HTML so that you can get the entire list of tags of HTML. You can also insert a horizontal line in the middle or in any part of the page. This divides the page and looks better.

  4. #4
    Join Date
    Oct 2005
    Posts
    2,394

    Re: The background of the page does not print

    When you print your Web pages, a number of elements that do not appear on the page are added. Most often, this is the url of the page header or page number of the page you print. These elements are added by the browser and it is unfortunately not possible to edit or delete them using CSS rules. CSS also is better way to create a web page. This makes work more easy.

  5. #5
    Join Date
    Feb 2008
    Posts
    1,856

    Re: The background of the page does not print

    This is a bug in the browser. It appears in different configurations. Some are a nesting of floats with float inside happens within 3px width of the container, the presence of several comments in the html in relation to the float, the presence of an item on display: none in conjunction with the float, the presence of hidden form fields (<input type="hidden" /> ...) always in relation to the float, etc. The repeated text seems all longer than the number of items displayed is not large (the, items on display: none and hidden fields).

  6. #6
    Join Date
    May 2008
    Posts
    2,393

    Re: The background of the page does not print

    To to that you have to add up the following tags in the web script. The first is Active which makes active when clicking on the link, Focus makes Active when the link receives focus (obtained using the TAB key), hover makes active when hovering, link makes default state of the link and visited makes active when the link has been clicked. It is better if you can get a list of all commands with the description of the same.

Similar Threads

  1. Replies: 5
    Last Post: 14-05-2011, 11:03 PM
  2. Want to add text on a page having background color
    By Lakshmidhar in forum Software Development
    Replies: 4
    Last Post: 02-10-2010, 10:51 PM
  3. How to redirect page to print page in Google Chrome?
    By Sahira in forum Technology & Internet
    Replies: 5
    Last Post: 08-03-2010, 10:34 AM
  4. Replies: 3
    Last Post: 05-12-2009, 12:02 PM
  5. How to print html page with the print dialogue
    By Gefry in forum Software Development
    Replies: 3
    Last Post: 27-07-2009, 11:06 AM

Posting Permissions

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