KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have a header tag <h1 class="hc-reform">title</h1> h1.hc-reform{ float:left; font-size:30px; color:#0e73bb; font-weight:bold; margin:10px 0px; } and after that I have a paragraph <p>stuff here</p> . How can I ensure using CSS that every <p> tag that follows the h1.hc-reform to use: clear:both; would that be: h1.hc-reform > p{ clear:both; } for some reason that's not working.
Tags (comma-separated)
Save Edits
Cancel