Opened 14 years ago

Last modified 14 years ago

#3446 new defect

CSS/Print issues on website

Reported by: woodbri Owned by: sdlime
Priority: normal Milestone:
Component: Documentation - mapserver.org Version: unspecified
Severity: normal Keywords:
Cc: hobu

Description

Print is messed up on the new website. In FF do a Print preview and you will see that the left hand column is removed as it should be for printing, but the content is not aligned to the left margin.

Change History (2)

comment:1 by sdlime, 14 years ago

Steve W. posted the following patch on mapserver-dev:

/* -- printout stylesheet
--------------------------------------------------- */

@media print {
     div.document,
     div.documentwrapper,
     div.bodywrapper {
         margin: 0;
         width: 100%;
     }
     div.body {                 // add this block and see if it helps
         position: absolute;
         left: 0px;
         width: 100%;
     }

     div.sphinxsidebar,
     div.related,
     div.footer,
     #top-link {
         display: none;
     }
}

comment:2 by sdlime, 14 years ago

Cc: hobu added
Note: See TracTickets for help on using tickets.