I have inline elements that I dont want to float. Is there a way of still using CSS like clear: left on inline elements? Thanks
Share
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.
the answer is no, clear: left; will not work on inline element. You might want to declare element with
display: inline-block– it might solve whatever issue you have. If you want answer that is not a complete guess, please make a demo on jsfiddle.