. (gamahucheur) wrote in suggestions,

Fix Comments Q[uotation] CSS Bug

Fix Comments Q[uotation] CSS Bug

Short, concise description of the idea
Remove the font-variant specification in whatever CSS determines the default rendering of Q[uotation] elements in comments.

Full description of the idea
The CSS for LJ comments sets the font-style within Q[uotation] elements to italic. (Somewhere, things read "q { [...] font-style: italic; [...]}".) This makes a quotation seem emphasized when it is not. Worse, child EM[phasized] elements are left with italic font-style, so that emphasis within quotations is lost. Only those with a knowledge of CSS can do a proper work-around.

The proper fix is to remove the explicit reference to font-style in your CSS, and to let quotation elements simply inherit their font-style from parent elements.

(Please note that Q elements are not automatically italicized in main entries, though they are in comments. I infer that the relevant CSS is for a Q element as a child element.)

An ordered list of benefits
  • Quotation elements not intended to be emphasized will not appear emphasized.
  • Intended emphasis within quotation elements will render distinctly.
  • Users will not be discouraged from using Q elements as opposed to literal quotation marks of some sort.
An ordered list of problems/issues involved
  • The strange desire of whomever set "font-style: italic;" will no longer be satisfied.
Tags: markup, § no status
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded