Quote:
Originally Posted by PeterT
The 1st paragraph is marked up with <p class="p1"> and the second with just <p>, however the definitions of the two CSS's is identical apart from a text indent setting.
Code:
p { display: block;
font-size: small;
margin-top: 0em;
margin-bottom: 0em;
margin-left: 0em;
margin-right: 0em;
text-indent: 20pt;
}
.p1 { display: block;
font-size: small;
margin-top: 0em;
margin-bottom: 0em;
margin-left: 0em;
margin-right: 0em;
text-indent: 0em;
}
|
I wonder what would happen if you changed that code to this:
Code:
p, .p1 { display: block;
font-size: small;
margin: 0;
}
p { text-indent: 20pt; }
.p1 { text-indent: 0; }
I mean, both should produce identical results on any compliant CSS renderer, but the different structure may make a difference...and if it does, that may point to the underlying bug.