I'm creating a form that is fairly long so what I'm trying to do is get some of the fields side by side to reduce the lenght. I added the width and the float, as per below, but it does not work.
I was hoping that the postalcode_container_div would move up next to the city_container_div but it did not. What am I missing please?
#city_container_div {
width:48%;
float:left;
border: 1px solid #FF0000;
}
#postalcode_container_div {
width:30%;
float:left;
border: 1px solid #FF0000;
}
Thanks in advance!!
I was hoping that the postalcode_container_div would move up next to the city_container_div but it did not. What am I missing please?
#city_container_div {
width:48%;
float:left;
border: 1px solid #FF0000;
}
#postalcode_container_div {
width:30%;
float:left;
border: 1px solid #FF0000;
}
Thanks in advance!!