Display & position & float | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Display & position & float

difrance and uses of them . i have a truble to set the position of site elements

6th Sep 2017, 9:43 PM
Mohammed Abd El-tawab Farahat
Mohammed Abd El-tawab Farahat - avatar
2 Answers
+ 2
+ 'display' define the type of element behaviour + 'position' define the type of element positionnement + 'float' allow sibling content to wrap on side of element The only property really related to fine moving element is 'position' which need to be set to anything else than 'static' (default value). 'float' could be a way of moving element, but quite automatically ^^ 'display' is not directly related to moving element, even if it could have effect on how it's moved/sized... For specific answer, post your code: each of them are too much wide topic to be fully explained in a post, even in a thread... Rather dive into html/css references/tuto ;P
7th Sep 2017, 10:19 AM
visph
visph - avatar
+ 1
Your question would be much clearer if you share your code. You can use the playground and afterwards share it so people can see or understand better.
6th Sep 2017, 9:57 PM
Elvis Ngboki
Elvis Ngboki - avatar