Jump to content

CSS in form


elcaiaimar

Recommended Posts

Hello everybody!

 

I' ve several forms in my website but they don't show as I want. I'm using Django (python) and my form is the next:

 

<form name="form2" action="/edicioncuenca/" method="POST"> {% csrf_token %} {{form.as_p}} <input type="submit" name="formsewer" value="Add sewer"> </input> </form>

 

The result is a vertical form (with much space on the right side). I want to get a form in horizontal position. I mean, I would like to have a form occupying all the space. Is this possible with css? How could I do this?

 

Thank you very much!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...