Go Premium for a chance to win a PS4. Enter to Win


remove the URL from print.css

Posted on 2012-03-30
Medium Priority
Last Modified: 2012-04-12
I am creating a simple print.css file but would like to remove the URL that appears at the top of page when you print.

Is this possible?

Question by:d1114170
LVL 12

Accepted Solution

Tony van Schaik earned 2000 total points
ID: 37788121
Unfortunately that isn't possible. It also differs per browser, you can't change that with CSS. And it is something the browser does.
LVL 53

Expert Comment

ID: 37788419
You have to set the header and/or footers for print in the print options of the browser.  You can set it on your own computer, but there is no way to access it from a uses browser.


Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question