cookiejar
asked on
Float elements in Html 5
I am been trying to figure how to float a textbox and a textarea objects next to its label for 5 hours but no luck. I am a newbie and need help.
Thank you in advance for your help.
I have attached the files.
Review.html
Review.css
Thank you in advance for your help.
I have attached the files.
Review.html
Review.css
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello Cookiejar,
No, I just defined the body margin & body content width (you can see that in Review.css file at top), also I removed margin in "input, textarea", because as you said you need that in front of the text.
Also I made a div and defined "style="width:450px"" for the form, that's it.
Best Regards
No, I just defined the body margin & body content width (you can see that in Review.css file at top), also I removed margin in "input, textarea", because as you said you need that in front of the text.
Also I made a div and defined "style="width:450px"" for the form, that's it.
Best Regards
ASKER
Thank you, it looks much better. Do I need to adjust the text box and the input textarea margins to bring them a little closer to the labels?
Also, could you explain to me what you did to make these object float correctly?
Again, thank for your help.