+ 1

How can I arrange the div content on one line ?

6th Apr 2022, 11:35 AM
Muhammad Abdulmalik
Muhammad Abdulmalik - avatar
3 Answers
+ 3
Please share your code. At the moment it's not clear what the problem is. With a code present, hopefully things can become clearer. https://www.sololearn.com/post/75089/?ref=app
6th Apr 2022, 11:45 AM
Ipang
+ 2
For the content to be on one line, the content must be of the type inline.. You can style block elements to be inline. look here on MDN https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements
6th Apr 2022, 12:19 PM
Paul K Sadler
Paul K Sadler - avatar
0
display:inline-block;
6th Apr 2022, 2:23 PM
#ā„ā„™šŸššŸšā„¢
#ā„ā„™šŸššŸšā„¢ - avatar