+ 1
Float
Can anyone explain me float in css, because I don't got it in the sololearn lession
6 Answers
+ 1
Julien >> Ok thank you! but now i want 2 pictures on the same line how can i make this?
use display: inline-block
+ 12
@Julien, post a link to your code.
+ 6
float is like positioning an element either right or left.
float: left;
########
#left float#
########
float:right;
########
#right float#
#########
+ 6
check out this code
https://code.sololearn.com/WOCuQ0DoBd84/?ref=app
+ 1
Ok thank you! but now i want 2 pictures on the same line how can i make this?
0
Grab the second element (image) and set its float property to "Right".