Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

CSS: How to place a form in the center of screen?

Avatar of duta
duta asked on
13 Comments1 Solution630 ViewsLast Modified:
Dear experts:

I have a simple form.

I would like to learn to use CSS to place the form in the center of the screen.

Thanks a lot!

<h1>   Registration Form </h1>
<form name="demo" onsubmit="return validateFormOnSubmit(this)" ]method = "GET"
<table summary="Demonstration form">
    <td><label for="Name"> Name:</label></td>
    <td><input name="name" size="35" maxlength="50" type="text"  id = "name"></td>
    <td><label for="phone"> Phone:</label></td>
    <td><input name="phone" size="35" maxlength="25" type="text"  id = "phone"></td>
    <td><label for="email"> Email:</label></td>
    <td><input name="email" size="35" maxlength="30" type="text"  id = "email"></td>
    <td><label for="description"> Description </label></td>
    <td><input name="description" size="35" maxlength="25" type="text"  id = "description"></td>
        <label for="subscribe"> Subscribe </label></td>
    <td><input name="subscribe" size="35" maxlength="50" type="checkbox"></td>
    <td><input name="Submit" value="Send" type="submit" ></td>
Avatar of Lotok
LotokFlag of United Kingdom of Great Britain and Northern Ireland image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answers