gaya 1 Posted April 1, 2013 Report 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 Quote Link to post Share on other sites
gaya 1 Posted April 1, 2013 Author Report 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. Quote Link to post Share on other sites
scott100 1 Posted April 2, 2013 Report 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 Quote Link to post Share on other sites
ankit bhalodiya 0 Posted April 8, 2013 Report Share Posted April 8, 2013 take text box in <p> teg and put align.it will work. Quote Link to post Share on other sites
Ingolme 1,020 Posted April 8, 2013 Report Share Posted April 8, 2013 The align attribute is deprecated. <p> elements should be reserved for actual paragraphs. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.