Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

headline tags?

by LanX (Bishop)
on Jun 07, 2014 at 17:02 UTC ( #1089152=monkdiscuss: print w/replies, xml ) Need Help??

Why do we allow <h1> tags at all?

See Unlink not deleting, Threading issue? again...

The board rules discourage using them¹, but we could either

  • disable H1 ... H3
  • or smoothen them by CSS
I'm fully aware ofmy freedom to adjust my personal CSS in the settings and share them here...

But do we really need the resulting discussion after someone misbehaved again?


To give all of this a more productive turn...

Any CSS-suggestions for H1..H3?

Such that they are

  • acceptably large
  • still "more prominent" than H4
  • w/o downsizing H4..H6 (backwards compatibility for older posts)

Cheers Rolf

(addicted to the Perl Programming Language)


¹) Heading tags, <h3>...</h3>, and smaller (through <h6>) may be used


just noticed that H3 is still accepted here, so please rethink the ranges I suggested

Replies are listed 'Best First'.
Re: headline tags?
by ww (Archbishop) on Jun 07, 2014 at 19:07 UTC

    As you noted, but for the record and for emphasis, Markup's discussion of headline tags includes the statement "Please note that <h1> and <h2>are discouraged here.</i>."

    Failure to honor that guidance does NOT, IMO, amount to a case in which "someone misbehaved again...." where my understanding of the connotations of this usage of "misbehaved" include "deliberately flouted the rules." I suspect this is more like the case of the AM or noob who ignores the guidance re para tags posted (even more prominently) at our text-entry box.

    As to the merits of disabling <h1>, 2 & 3 -- my $0.02 worth is that even if use were regarded as a mortal sin, felonious mis-formatting, or some other semi-egregious violation of the Monastery's generally accepted conventions.

    Take a node that's been posted in ALL-CAPS as a parallel (a sorta' weak onethough because (IME) the whole internet community pretty much subscribes to the notion that doing so is rude ('shouting!'). That happens here at least as often as the use of the larger headline tags but we probably can't cure the problem by disabling upper-case letters... and its probably not worth the trouble to build a filter that will correctly revise an all-caps node.

    And finally, you've already mentioned what seems a reasonable solution: let those who chose use CSS to specify rendering a headline tags at less-than-pure-html size but add no needless complications for pmdevs nor any new Monastic mysteries for those who don't share your objection to the current rendering, or who (were we to adopt the option of site-wide css modification of h1 and h2 tags) wouldn't understand why theirs came out so small.

    From me, you got an upvote -- for seeking to improve the Monastery -- but I do disagree.

    Quis custodiet ipsos custodes. Juvenal, Satires

Re: headline tags? (private settings)
by LanX (Bishop) on Jun 08, 2014 at 17:27 UTC
    > To give all of this a more productive turn...

    > Any CSS-suggestions for H1..H3?


    these are my styles now in Display Settings.

    h1 { font-size: 1.3em; color: #800000; } h2 { font-size: 1.2em; color: #800000;} h3 { font-size: 1.15em; } h4 { font-size: 1em; } h5 { font-size: .95em; } h6 { font-size: .9em; }

    Not perfect but a start (margins etc are missing¹).

    Though good enough to easily read posts on my mobile.

    Thanks to the dark-red color I can easily identify <h2> in posts like How (Not) To Ask A Question.

    YMMV! :)

    You are free to suggest improvements.

    Cheers Rolf

    (addicted to the Perl Programming Language)

    ¹) well I'm not a designer ( yes, excellent sperm count :)

Re: headline tags?
by Anonymous Monk on Jun 08, 2014 at 09:09 UTC

    Why do we allow <h1> tags at all?

    So that they can be used :) like for headings and such

Re: headline tags?
by sundialsvc4 (Abbot) on Jun 08, 2014 at 11:38 UTC

    Posts here are used for a lot of purposes, including articles and papers which might indeed require markup.   Yes, sometimes those are used to “shout.”   But that alone doesn’t justify getting rid of the facility.   Perhaps some of the tags are a bit too large, take up a bit too much screen-space and so on, but that is aesthetics.   Some of the “threads” that get posted here are, effectively, publications.

Re: headline tags?
by sundialsvc4 (Abbot) on Jun 12, 2014 at 13:30 UTC

    I don’t have any specific suggestions other than they probably should be only slightly-larger than the normal font that is used on the site, and with less vertical margin space.   Variations in boldness, italic, serifs and so-on can be used to vary the tags without burning-up column inches.


    ... on my computer, when used in-line as was done here, creates a 3/4" gap (yes, I measured it) in the text flow.   The character itself is 1/4" high, and there is a like-sized gap both above and below it.   The markup for what is shown here is this:   <h1>h1</h1> ... on my computer ...

    On the one hand, that’s probably pretty-good markup for a document heading.   But, particularly on a small screen, that is a lot of real-estate being consumed gratuitously.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1089152]
Approved by Athanasius
[erix]: I'm not going to read it so I could be mistaken but it reeks of useful idiocy
[shmem]: AngloZionist is not an antisemitic term.
[shmem]: erix: be assured that we all are horribly mistaken, always. What would we write tests for, if not for that fact?
[shmem]: and then, audiatur et altera pars.
[erix]: and what's the "Vineyard"? Don't tell me it's doing supernatural stuff too.
[shmem]: go figure. Might help to open views to other ways of perceiving reality. No, no supernatural stuff.
[shmem]: the "Vineyard" is a biblic term, also. But that's not the point.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-03-19 20:59 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.