newcoder1010 Posted September 2, 2015 Share Posted September 2, 2015 Hello, I have the below webform I like to place in the center of the page. How can I do it? I have searched online and I could not get the help. .webform-client-form-16 { float: center; position: relative; Thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted September 2, 2015 Share Posted September 2, 2015 You don't float it if you want it centered. Just give it a set width and set the left and right margins to auto. Float is used when you want to put an element horizontally next to other block elements. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now