View Single Post
Old 01-30-2016, 05:12 PM   #4
KingAuthor
Member
KingAuthor began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Device: none
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
KingAuthor is offline   Reply With Quote