Not only that but also keep them side by side no matter how the window resizes. Will I have to use a table to accomplish this? Is there a better way?
Note: HTML 4 and HTML 5 answers welcomed.
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 had the following styles set you should be fine:
if you want some space between these elements account for it in your style:
You’ll also want to clear the floats after
#mainwith a<div style="clear: left"></div>or a clearing element or wrap them in another element which has a clearfix style