Text formatted with <b></b>
and <i></i>
tags appears correctly on iPhone and Internet Explorer, but lacks formatting in Firefox or Chrome.
I have included the .css files below. Additionally, I attempted to add i { font-style:italic; }
separately in both Reset.css and Style.css.
Color.css:
body {
color: #fff;
background-image: url(../img/background-red.png);
}
Reset.css:
/* CSS reset code */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
input, textarea, button
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* Additional styles */
Style.css:
html, body {
height: 100%;
}
...
Included HTML code:
<div class="content">
<h1>Example Title</h1>
<h2>Subtitle Example</h2>
<p><i><strong>Sample text</strong> more text here</i></p><br>
Additional content...<br><br>
<strong>Some bold text</strong><br><br>
<p><strong>Another bold text example</strong></p><br>
</div>
Why is the bold text not displaying as expected?