Form outside of containing div

form contaning div

Are you having troubles containing your form within a containing div?

Check out my clients site that I have been working on. As you can see the form inputs don’t want to conform to the containing div.


form fields containing within div

*TIP: A more narrow your class selector will help create a better chance to have a single effect with the exact element.

When you have either found a selector or added a selector add the following css.


Nothing complicated!

If for some reason this didn’t work for you I would love to hear it in the comments sections.


I am a skilled and experienced consultant specializing in WordPress website development and marketing committed to making your business/company more successful by offering you a personal service with honesty and integrity.

Posted in css

Leave a Comment

Your email address will not be published. Required fields are marked *