View Single Post
  #9 (permalink)  
Old Aug 23rd, 2006, 17:59
brunette brunette is offline
New Member
Join Date: Aug 2006
Location: London
Age: 23
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: selective printing

hi

url? my web hosting is closed for a while and I'll open it soon.

here is my page html that is connected to two pages print and foo.css.
here is page.html
Code: Select all
 
<head>
<link rel="stylesheet" href="css/foo.css" media="screen" type="text/css" />
<link rel="stylesheet" href="css/print.css" media="print" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
here is print.css
Code: Select all
body {
    font-family: Verdana;
    font-size: 12px;
    color: #000;
}
#calendar, #sidebar, #nav, #navmenu, #menubar, #menubar li a, form, fieldset, legend, #footer, .view, .email, .directions, .directorylist, #sidebar, img, #sidebar li a {
    display: none;
    visibility: hidden;
}
a:link, a:visited, a:hover {
    color: #000;
    text-decoration: underline;
}
.memview {
    border:0;
    padding: 0;
}
here is foo.css

Code: Select all
body {
 background-color: ##FFFFCC;
}
body, td, th {
 color: #FFFFFF;
}
h1, h2, h4 {
 color: #330000;
}
h3, h5, h6 {
 color: #996666;
}
a {
  color: #006666;
}
img, #foo, #farg {
display:none;
visibility:hidden;
}
i am not good enough at CSS. I ll be grateful for your help. say what is something wrong there.

Reply With Quote