<em> Doesn't render
- Started
- Last post
- 6 Responses
- scrap_paper
I've noticed that tags are not rendering for me in FF or Safari. Any reason? I've used the following CSS Reset:
@charset "UTF-8";
/* CSS Document *//* zeroing all */
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}/* End Reset */
- scrap_paper0
Sorry. The < em > tags
- drgss0
<strong>You can use tags here?</strong>
<em>test</em>
- drgss0
Hmm<em>hehe
- scrap_paper0
Yeah. I'm stupid. Found the issue. I just didn't define < em > to be italic in the css. Once I did everything rendered fine. Duh.
- janne760
* zeroing all */
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}---
^ wtf is that?
why not:
* { margin: 0; padding: 0; etc....
- because the universal selector is buggy in IEacescence
- "When the universal selector is immediately adjacent to an element type selector, IE versions 6 and 7 will interpret the combination as a descendant selector instead of failing as they should."acescence
- the combination as a descendant selector instead of failing as they should."acescence
- this was on a parted list or things some similarversion3
- spraycan0
* { margin: 0; padding: 0}