View Single Post
Old 09-18-2013, 08:44 PM   #139
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by PeterT View Post
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.
Rev. Bob is offline   Reply With Quote