Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a floating input box which I can not select when the div container parent has the margins set to auto. Please help me know what I am doing wrong. thanks!

I went ahead and created a small JSFiddle with my issue. I would like to float the input box on the left and the example text to the right of it... the ones that stack horizontally will not allow me to select the input field while the ones stacking vertically do. Please help!

http://jsfiddle.net/andrewster05/8UGnH/[^]
Posted
Updated 8-Dec-13 5:43am
v5
Comments
enhzflep 7-Dec-13 3:23am    
Hard to say with that small snippet. I copied it into an existing page and selection was not an issue. You could update your question to include a complete example that exhibits the behaviour. Alternatively, you may wish to create an online, functional example at jsFiddle.com

1 solution

Well, I created it in a JSFiddle above and then I finally figured it out. I had a floating "fluid" row with floating input fields but also I had some relative positioned input fields which covered the floating elements. Once I made all the elements in the row floating, I did not have a problem selecting the input field. thanks!

here is the updated fiddle if anyone has a related issue. Thanks,


http://jsfiddle.net/andrewster05/D9vwk/1/[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900