Jump to content

How to enforce line wrap after <h3> ...</h3> element?


pstein
 Share

Recommended Posts

  1. 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...