Ticket #3446 (new defect)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by sdlime

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;
     }
}

Changed 3 years ago by sdlime

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