sjdowns Posted April 26 Share Posted April 26 Hi! I'm adding a custom code block simply to override the color for my Heading 2, but when I do that, the block adds a lot of spacing above and below the text as compared to simple text block with Heading 2 text. How can I reduce this padding? See the screenshot below: My code is simple: <p><h2><font color="4a4a4a">Sample Text</font color="4a4a4a"></h2></p> Any ideas would be appreciated! Thanks, Steve Link to comment
Solution tuanphan Posted April 28 Solution Share Posted April 28 Change your code to this <h2 style="color:#4a4a4a;">Sample Text</h2> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment