pstein Posted May 3, 2018 Share Posted May 3, 2018 How can I enforce a line wrap (resp <p>) after a <h3>...</h3> element? The following text/images should always be placed below the h3 headline. The line wrapping should be achieved by CSS rule/key. I have no access to the original html source Link to comment Share on other sites More sharing options...
Ingolme Posted May 3, 2018 Share Posted May 3, 2018 Since <h3> elements are naturally blocks, all elements that follow them will be below them. If that's not happening then somebody has either set it to be inline or floated it. If it's inline, you can set it back to a block using the display property. If it's floated you can either reset the float property using float: none or you can set the clear property of the element that follows the <h3> element. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now