gaya Posted April 1, 2013 Share Posted April 1, 2013 (edited) Hi,I am having a form with a textarea and some textbox.I dont know how to align in into my form. i.e)I have aligned but i want to make the fields seen in center of the form. Please tell me how to align it. Edited April 1, 2013 by gaya Link to comment Share on other sites More sharing options...
gaya Posted April 1, 2013 Author Share Posted April 1, 2013 I aligned it simply by putting align="center". But my images are seenn without anyspace. How to make space or seperate my images. Link to comment Share on other sites More sharing options...
scott100 Posted April 2, 2013 Share Posted April 2, 2013 (edited) You could use CSS to put a margin around the images http://www.w3schools...n.asp#gsc.tab=0 something like <head><style> img{ margin:20px;}</style></head> this would affect all images though... you could narrow it down further, this would only apply to images within the form tag <head><style>form img{ margin:20px;}</style></head> Edited April 2, 2013 by scott100 Link to comment Share on other sites More sharing options...
ankit bhalodiya Posted April 8, 2013 Share Posted April 8, 2013 take text box in <p> teg and put align.it will work. Link to comment Share on other sites More sharing options...
Ingolme Posted April 8, 2013 Share Posted April 8, 2013 The align attribute is deprecated. <p> elements should be reserved for actual paragraphs. 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