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  PHP code snippet - How refresh the record of data in laravel?

Leave a Reply

Your email address will not be published. Required fields are marked *

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