Div is a Block level and can not contain another block
Are you trying to style the 'text'? Simply apply the style to the <p
__________________________________________________ ____________________
Thanks, TheDucks. The Div rule is good to know. That explains the error. By applying the style to the p, do you mean "align-text: centered" in the p tag? I had to wipe a ton of "attribute "align" not declared for element "p" statements from the document, even though it was in my stylesheet.
Last edited by KingAuthor; 01-30-2016 at 05:18 PM.
Reason: Forgot quote
|