I have a UL list which has images in li. I have given UL width as 400px, if the li items are more then i want it to be hidden but it is coming in next line. Any solution?
Here is my demo
http://jsfiddle.net/vtuRL/8/
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.
You need to set an additional
white-space: nowrap;to youUL-list to prevent a line break at the end of the available space.See: http://jsfiddle.net/vtuRL/10/