lmartindesign |
Mar 3, 2011 08:09 PM |
Want to use inline h2, h3, h4 tags in the body text
So I've added display:inline to my h2, h3, h4, h5 tags in the custom css; however when looking at the produced code on the page, wordpress is adding a <br> before the <h2> tag and <p> after. Is there a location that it's hardcoded to remove those defaults? I have no issue with using the inline coding with regular html pages.
this is my code:
Code:
Our Great Western Transportation team has more than 100 years of trucking experience within the <h2 style="display:inline!important;">LTL Trucking</h2> and Full Truckload industry. We specialize in the Flatbed Trucking, Refrigerated Trucking, Dry Van Trucking, Heavy Haul Trucking and Power Only Trucking areas.
And what WP generates:
Code:
Our Great Western Transportation team has more than 100 years of trucking experience within the<br />
<h2 style="display:inline!important;">LTL Trucking</h2>
<p> and Full Truckload industry. We specialize in the Flatbed Trucking, Refrigerated Trucking, Dry Van Trucking, Heavy Haul Trucking and Power Only Trucking areas.</p>
|