here is the code
two grey squeares (“float 1” and “float 2”) have to be positioned beside each other in absolute positioned division “submenu_container” related to < li > “menu 3”.
Can plz somebody help me to get it? 🙁
Thx!
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.
If you’ll always have two elements (“float1 and float2”) of 100px each,
you can set the width of
.submenu_containerto 220px and they will float beside each other. like this http://jsfiddle.net/77NBM/13/If the width of the elements (“float1 and float2”) is dynamic, I suggest you set the width of
.submenu_containerdynamicly width javascript or jQuery. for example: