Taylor514ce, thanks for the feedback. As I said in my post of the example, the reason I did the empty spans is that it is easier to markup, instead of wrapping the lines in the span. It also has the advantage of being easier to search on this as a unit, if I want to replace it with something else when building a different ebook that doesn't support this method.
Playing devil's advocate, why is an emply span semantically wrong? The span isn't really empty, it contains the padding for the indent. As for wrapping the non-indented lines in a span, I don't understand the need for that. It seems to be unnecessary markup.
In your second example, you tried to simplify the CSS, which I appreciate. However, I didn't want to combine things and apply a zero text-indent on the regular paragraph tag. I will want to have prose paragraphs with indentation.
Again, comments welcome. I'm just trying to figure out how to do this the "proper" way. However, I don't mind being a little "wrong", if it makes the markup easier to apply.
|