css - how do I reset p's and div's style attributes? -
i have dynamic website html editors creating article content, reason p/div tags generated html editor screwy on front pages. i'm assuming because of css declarations overall website.
here quick example:
<div class="custom_html_block"> <div align="top"> <p> test test test test test test test test test</p> <p> test test test test test test test test test</p> <p> test test test test test test test test test</p> </div> </div>
what css need make elements inside look/appear on blank html page? can me out that?
thanks!
it sounds default styles of <p>
tags have styles being inherited existing styles. way avoid specific these tags can control them individually
.custom_html_block { padding:15px 15px 0; } .custom_html_block p { padding-bottom:15px; )
i use firebug find out additional styles need specify in order create more "default" look
Comments
Post a Comment