You can see it on this fiddle: http://jsfiddle.net/6Xr8W/3/

Yes, I want them all in a row. I tried it with float: left on all of
them, but that didn't do it. Nor did adding a width.

On Tue, Feb 19, 2013 at 7:23 PM, Angela French <afre...@sbctc.edu> wrote:
> How about a link?  Also, it's always a good idea to provide the width 
> property anytime you use the float. Also, your float only appears to be on 
> the first item.  Are you wanting them all to float left?
>
>>-----Original Message-----
>>From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-
>>discuss.org] On Behalf Of Larry Martell
>>Sent: Tuesday, February 19, 2013 4:15 PM
>>To: css-d@lists.css-discuss.org
>>Subject: [css-d] Displaying button and checkboxes in a row
>>
>>Sorry for the stupid question, but I'm pulling my hair out with this.
>>I want to display a button and then next to it 3 checkboxes. No matter what I
>>do I cannot get all 4 elements to display in a line. I can get the button and 
>>the
>>first checkbox on the same line, but the other 2 checkboxes display below
>>them. Here is my code:
>>
>>
>><input style="float:left" type="submit" class="submit"
>>name="submit_preview" value="Generate Report"></input> <div>
>>    <input type="checkbox" id="meas_checkbox"
>>    name="meas_checkbox" value="Meas" />Meas</div> <div>
>>    <input type="checkbox" id="pr_checkbox"
>>    name="pr_checkbox" value="PR" />PR</div> <div>
>>    <input type="checkbox" id="ga_checkbox"
>>    name="ga_checkbox" value="GA" />GA</div>
>>
>>I'm sure it's something very simple, but it's eluding me.
>>
>>Thanks!
>>___________________________________________________________
>>___________
>>css-discuss [css-d@lists.css-discuss.org] 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/
>
>
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/

Reply via email to