Forum Home
Press F1
 
Thread ID: 90254 2008-05-28 00:42:00 CSS Pros, heed my cries. Jams (1051) Press F1
Post ID Timestamp Content User
673319 2008-05-28 00:42:00 Hey guys.

I have gone all Matrix and managed to learn the better half of CSS in a week or 2. (Huge background in HTML and web design).

Now what i have is a website that has a left side nav bar tha tis controlled via CSS. What i'm trying to do is create a print friendly version of this website/s. I have modified the current CSS file so the website now displays in a clean white background with no colours.

Is there a way to have the navigation bar dropped and have all the website content in one base page so when i go to print it just prints the while website, instead of me going to print every section manually, or having to re-build the website without a nav-bar.

Hopefully your not to confused, cheers.
Jams (1051)
673320 2008-05-28 12:44:00 Use a separate style sheet for print.
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
Then..
#navigation {display: none;}
etc. you should also put something like..
body{background:white;font-size:12pt;}

hth :)
Rob99 (151)
1