+ 1
Why I can't just use float:right?
I am new to html and css. when I am using float: right, it doesn't show the result I want. that block doesn't showup in right place and it goes down. why it is happening? https://code.sololearn.com/WR26Bggu5mO9/?ref=app
7 Answers
+ 1
use box-sizing
https://code.sololearn.com/WlGUD18K3fi0/?ref=app
+ 6
You should see it here âââ :)
https://www.w3schools.com/css/css_float.asp
+ 2
Could you share your code?
+ 2
reduce .n3 width
0
@calvin I have posted in the post
0
thanks @catty @calvin
0
btw if I add a footer block in the code. it goes all the way near header block and stays under the main block. what can I do to solve that problem?