I have started using the”display:table” property in CSS to properly structure my html5 elements, and it works great.
Can someone tell my why using floats is better? Ironically, it seems like this is the future? It’s easy, simple and understandable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As long as a table layout works for you, you can use it.
However, it would be a good idea to make yourself familiar with other ways to control the layout. As soon as you want to do something that doesn’t fit in the strict grid that a table forces upon you, you need to use something completely different.