Petruchio's recent node on using CSS at the monestary got my curiosity piqued, so I tried giving perlmonks a markup makeover:

While I didn't stick *quite* to the current perlmonks style, the important part is under the hood. Do a view source on each page, or simply direct your browser to http://www.geocities.com/howars.geo/perlmonks/ to grab things (including the css file) right out of the directory.

I tested in IE5, IE6, Mozilla 0.9.7, lynx all with good results. I didn't get around to quite everthing, such as how <code> tags are currently rendered, but the majority of site markup is done (I think).

When you open the source you'll notice that just about everything is named, either by class or by id. This should make it much easier to refer to style the different conceptual containers on the page (as belg4mit brought up in the thread under Petruchio's node). I also ordered the page elements in the source code as I thought would make sense to someone using a text/voice browser as opposed to a visual one.

I've only done three pages, but I'd be quite willing to work with the pmdev team to get the site's markup up-to-date.

feedback craved :)


In reply to PerlMonks XHTML+CSS: an implementation by AidanLee

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.