Hello, I'm a little green when it comes to CSS so need a little help from the community on this one. I have a collection in my form that has several fields in it and I would like 3 fields to be displayed on the same line. However, I would like one field to be about 45% of the line, the middle one to be 35%, and the last one to be 20% but no matter what I try, it seems like the best I can do is set the .cf-field length to match my ratios but the input fields won't cooperate (.cf-large, .cf-large).
I tried creating a new class and set the inline block display without a width ratio. Then I specify each .cf-field to the ratio I want and I do the same with the input boxes (.cf-large.....I also tried .cf-xlarge but made no difference).
It SEEMS like the field container sizes are the correct ratio (or at the very least are able to be manipulated) but the input containers won't cooperate. I've tried adding max-width as well but still nothing. I've also tried specifying pixel widths instead of % and still doesn't seem like anything changes.
I'm thinking this has something to do with the fact that my field labels are top displayed instead of side display but not completely sure about that.
Could someone point me in the right direction please? I know there's something I'm missing but just don't have good grasp on CSS to figure this one out.
Here's a small sample of what I was trying:
.DetailLines {display: inline-block;)
#q91 .cf-field {width: 45%;}
#q91 .cf-large {width: 90%;}
#q96 .cf-field {width: 35%;}
#q96 .cf-large {width: 90%}
#q93 .cf-field {width: 20%;}
#q93 .cf-large {width: 90%}