Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Stylish - perldoc.perl.org - dynamic width pages

Or, this code can be appended to your userContent.css file (create if necessary). The file should be found/created in your FF profile's chrome directory.


What it does:

  1. Disables the fixed-width page rules!
  2. Prevents the title bar from jumping down the page at you even without saving a cookie or disabling javascript!
  3. Rearranges the sidebars to take up less room. (The docs are now quite readable even with only a 500px wide window)
  4. Moves the search box to the top left to allow window resizing
  5. Removes graphics which looked bad when resizing

Note: This is surely ham-fisted CSS work, since I've never really done much CSS before, but it looks good on my FFv3, and does what it was intended to do. (points 1 and 2 above)

/* ********** perldoc.perl.org Fixes **********/ /* @group Layout */ @-moz-document domain(perldoc.perl.org) { body { background-color: #FFFFFF!important;/*#1d3648;*/ } div#page { background-color: #FFFFFF!important; width: auto !important; /* width: 985px; */ } /* @group Header */ div#header { background-image: url(combined-20090722.png) !important; width: auto!important;/*985px;*/ height: 0px!important; } /* @group Homepage link */ div#homepage_link { width: auto!important;/*340px;*/ } /* @group Search form */ label.overTxtLabel { color: #404040!important; margin-top: 0px!important; margin-left: 0px!important; } div#search_form { top: 1px!important; /*48px;*/ left: 16px !important;/*810px;*/ float: left!important; width: 115px; } div#search_form input { border-style: solid!important; width: 130px!important; left: 5px; } /* @group Body */ div#body { background-image: url(X) !important; /*url(page_bg.png);*/ } div#left_column { position: absolute; left: 0px; top: 50px; } div#centre_column { float: right !important; width: auto !important; left: 160px !important; top: 5px; position: absolute !important; background-color: #ffffff; } div#right_column { position: absolute; left: 8px; top: 1000px; } /* @group Footer */ div#footer { width: auto !important; background: url(X) !important;/*url(combined-20090722.png) 0 -105p +x;*/ } /* @group Content */ /* @group Header */ div#content_header { background: url(X) !important; top: 0; width: auto!important; /*648px;*/ height: 90px; z-index: -1!important; } /* @group Title bar */ div#title_bar { height: 53px; position: relative; width: auto !important; /*648px;*/ max-width: 648px; } /* @group Body */ div#content_body { color: #262626; position: relative; top: 0px; width: auto !important; background-image: url(X) !important;/*url(center_bg.png);*/ } div.noscript { height: 0px; text-align: center; padding: 10px; margin-bottom: 15px; border: 5px solid #dc4c24; margin-right: 15px; margin-left: 15px; } /* @group Footer */ div#content_footer { height: 0px!important; /*height: 10px;*/ width: auto!important;/*648px;*/ background: url(X)!important;/* url(combined-20090722.png) 0 -206p +x;*/ } }

In reply to How to make perldoc.perl.org resizable too! by SuicideJunkie
in thread perldoc.perl.org -- keep the navigation header out of your way by hobbs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (8)
    As of 2014-09-23 10:50 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (218 votes), past polls