Streaming live at 10am (PST)

(Solved) Best way to align button next to form?


#1

Hello!

Whats' the best way to align a form button next to a form?


Here's a screenshot of what I'd like to achieve:

[Solved & removed by uploader]

I achieved this by putting a float left on the form (which has a width of 30%) and a float right on the button, and then using 260px left margin for the form and 260px right margin for the button, but I don't think this is the best solution (especially for responsiveness?).


And here's a screenshot of what the current solution without any margin/floats/% width is like:

[Solved & removed by uploader]


Thanks guys!


#2

Hi there,

See if something like this works for you. I did percentage widths on the input field and button and then gave them both a property of float:left.

https://webflow.com/design/scratchpad?preview=9999b0c431e112a8ef3278b72d4b5574

CT


#3

Thanks, I did exactly that and it works great.

Cheers!


#4