View Single Post
Old 04-06-2015, 01:24 PM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,365
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by readx View Post
Why do I get the u tag, if I use the underline function within sigil?
If the u tag ist not valid, shouldn't there be a "spec conform" implementation avaliable, like you described it
I don't know, and care very little. Concessions for providing wysiwys editing, maybe? Chasing specs and validator approval isn't really my cup of tea. Ask how to make the error go away, and I'll answer. That's why I mentioned that I know of no reading system that doesn't honor the u tag. You could always just live with the error; safe in the knowledge that its going to work regardless

@O.P.
As theducks said: if you already had css for centered text, then you should use that class where you want your text centered, and remove the align="center" attributes to make the "align not declared for element p" errors go away.

Quote:
Originally Posted by oiver55 View Post
Like the way I understood it to be was that the CSS is where you set all the styles for the way the text should appear.
It CAN be. And it's often the most efficient and quickly modifiable way to do it. But if you have your css already set up to format your text the way you want it, then why do you also have align="center" in your (x)html?

Last edited by DiapDealer; 04-06-2015 at 01:50 PM.
DiapDealer is offline   Reply With Quote