hi guys,
i am still testing (and learning) how to use the a print css file.
am i right in saying that if i just have:
#content {
width: 480px;
float: right;
}
in my print.css file it will only print out what is in the #content div?
this is what i have tried but prints alot more.
any help tips pointers would be good thanx guys!
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/contact.php">www.deskjetmodels.co.nz/contact.php</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/css/print.cssNo">www.deskjetmodels.co.nz/css/print.cssNo</a><!-- w -->, you have to explicitly call out things you don't want printed and set them to display:none. E.g. if you have a #banner you don't want printed,
@media print {
#banner { display:none }
}hi,
i have gone through and putt display: none; on all my div's i dont want displayed.
im trying to get it so just the #content div gets printed left aligned on the page.
now i have got 'just' the content on there but there is a huge blank gap (looks like where the left nav used to be) and i dont know how to get rid of it so the writing is hard left aligned
you can see this by going here:
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/css/print_about.css">www.deskjetmodels.co.nz/css/print_about.css</a><!-- w -->
and goinjg print preview or print.
if anyone can help that would be great thanx It has to do with your content style in model not being overridden by the print css.ok, i have placed the
<link rel="stylesheet" type="text/css" media="print" href=http://www.webdeveloper.com/forum/archive/index.php/"/css/print_about.css" />
after my style css and that has fixed the problem
i am still testing (and learning) how to use the a print css file.
am i right in saying that if i just have:
#content {
width: 480px;
float: right;
}
in my print.css file it will only print out what is in the #content div?
this is what i have tried but prints alot more.
any help tips pointers would be good thanx guys!
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/contact.php">www.deskjetmodels.co.nz/contact.php</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/css/print.cssNo">www.deskjetmodels.co.nz/css/print.cssNo</a><!-- w -->, you have to explicitly call out things you don't want printed and set them to display:none. E.g. if you have a #banner you don't want printed,
@media print {
#banner { display:none }
}hi,
i have gone through and putt display: none; on all my div's i dont want displayed.
im trying to get it so just the #content div gets printed left aligned on the page.
now i have got 'just' the content on there but there is a huge blank gap (looks like where the left nav used to be) and i dont know how to get rid of it so the writing is hard left aligned
you can see this by going here:
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/css/print_about.css">www.deskjetmodels.co.nz/css/print_about.css</a><!-- w -->
and goinjg print preview or print.
if anyone can help that would be great thanx It has to do with your content style in model not being overridden by the print css.ok, i have placed the
<link rel="stylesheet" type="text/css" media="print" href=http://www.webdeveloper.com/forum/archive/index.php/"/css/print_about.css" />
after my style css and that has fixed the problem