+ 1

"Float can't be used with display: inline-block" - any suggestions how to fix that?

I wanted to add an image in one of my paragraphs and wrap the text around it CSS used: #image { float: right; height: 120px; width: 120px; display: inline-block; padding-left: 10px; }

9th Nov 2019, 1:46 PM
Ola Roƛlik
Ola Roƛlik - avatar
1 Answer
+ 1
just remove the display property.
9th Nov 2019, 3:17 PM
Veliside
Veliside - avatar