|
| |
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
Print without the footer and the header - 4/14/2007 6:52:14
Hi to all , I am traying to print page without the footer and the header. i add this script to print.css #header { display: none;} #footer {display: none; } but with no luck... thenks
|
|
|
|
Tailslide
Posts: 5915 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Print without the footer and the header - 4/14/2007 7:52:47
Are you adding the rules in a print stylesheet? <link rel="stylesheet" type="text/css" media="print" href="yourstylesheet.css" />
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
RE: Print without the footer and the header - 4/14/2007 10:37:00
Hi, i add this to the print page not on the css page. <link rel="stylesheet" type="text/css" media="print" href="print.css" />
|
|
|
|
Tailslide
Posts: 5915 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Print without the footer and the header - 4/14/2007 10:56:35
Hi again Well adding such rules to the print stylesheet usually works for me - they may well be overridden if you have rules within the markup itself though. Could we see a link to the page to check what the issue might be?
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
RE: Print without the footer and the header - 4/14/2007 11:18:53
Hi, this is a system inside company so it is secured. i tried this code on a blank page and it steel prints the footer and the header.
|
|
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
RE: Print without the footer and the header - 4/14/2007 12:04:37
Wath do you meen by markup? is it the css code?
|
|
|
|
Tailslide
Posts: 5915 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Print without the footer and the header - 4/14/2007 12:13:42
No the markup on the HTML page itself - everything from the DOCTYPE to the closing body tag. That way we can see if there's something conflicting in there.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
RE: Print without the footer and the header - 4/14/2007 12:49:09
Ok how do i do it?
|
|
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
RE: Print without the footer and the header - 4/14/2007 14:10:40
Ok didnt explain it clearly. When i print this page on the buttom of the page the site address is printed. How can i remove it automatically without changeing the definition in the brwoser
|
|
|
|
yaronbb
Posts: 40 Joined: 10/5/2006 Status: offline
|
RE: Print without the footer and the header - 4/14/2007 14:15:13
Ok thenks for the help
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|