Home
Options

Default results CSS styles for strong element

Hey,
I noticed that the default CSS contains the following CSS (shortened here):

html,
body,
/*...*/
em,
/*...*/
strong,
var,
i,
/*...*/
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%
}

/* ... */
i,
em {
    font-style: italic
}

As you can see, the style is reset to font: inherit for a longer list of elements, including <em>, <strong> and <i>. Later, the style is then restored for <i> and <em> to be in italics. <strong> however is kept with its reset non-bold style. The <b> tag is coincidentally not in the reset list so it remains in its default bold style.

Screenshot displaying the default style for each element, with only strong being unformatted

Would it be possible to change the default CSS to include font-weight: bold for the <strong> element? Or alternatively remove the reset styles for these elements since the browser default should be good enough?

Comments

Sign In or Register to comment.