Quote:
Originally Posted by readx
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
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?