Skip to content

CSS code snippet – How to get two elements on the same line html?

Using display:inline-block

#element1 {display:inline-block;margin-right:10px;} 
#element2 {display:inline-block;} 
See also  Dynamically iterate over multiple lists in Python using while loop

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.