|
Posted by Toby Inkster on 11/15/90 11:46
Michael Laplante wrote:
> In Gecko browser, DIV elements don't print across pages.
You're probably using absolute positioning in your print style sheet -- a
recipe for disaster.
Try the following print CSS:
#Osidebar, #Owbkgd, #Ohrtbt, #Otitle, #Ocuff,
#Ofadebar, #Obluesdbr, #Onavmenu, #Ovan
{ display: none; }
#Ologo, #Opagetitle
{ text-align: center; }
#Ocontent
{ margin: 0 2em; }
Save that as "print.css". Now replace this:
<link type="text/css" href="mystyles.css" rel="stylesheet" />
with this:
<link type="text/css" href="mystyles.css" rel="stylesheet"
media="screen,projection">
<link type="text/css" href="print.css" rel="stylesheet"
media="print">
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|