Jump to content

button next to img


JamesB

Recommended Posts

Normally they would be on the same line without needing any extra CSS. Is the container too small to fit them both?

 

If the container is shrinking to fit the content (probably because of a float or display: inline-block) then it might be forcing line breaks . In that case, try setting the container's white-space property to nowrap.

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
×
×
  • Create New...