Le 5 avr. 2013 à 02:37, Peter Ankelein <[email protected]> a écrit :
> I've a landing page with some text and select box form floated left and > right (general float classes attached to them, not as part of the select > box styles). > > http://www.mdsol.com/ad/clinical-cloud/index.html > > The text input fields are fine but I'm having a difficult time with the > select boxes. I can't seem to line up the ones floated right so that they > match the text boxes above them. Why don't you set a width on the parent <p> elements? At the moment their width depends on the width of the content (the form fields), which has different values. >From there, if it is crucial for you that textfields and select boxes have the >same width, you can set their width to 100%, and add: input[type="text"], select { -moz-box-sizing: border-box; box-sizing: border-box; } Philippe -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
