July 26, 200818 yr how do I re-position and set width/height for a text field? I'm designing a custom contact form... Thanks ppl
July 26, 200818 yr I always create a class with the height, width, text size...ect in it and then apply the class to the form element I want to change. I find this way more effective then changing the main form attribute in css as this way you have more control over how other form elements look should you have logins and such that you don't want to apply the same style too.I am sure someone will be a long to show you that way Hope that makes sense as I am in a bit of a rush to get ready so don't have time to show examples
July 26, 200818 yr To add to Dizi's bit... sample HTML <input type="text" id="myfieldname" name="myfieldname" size="30" value="" class="formText" /> Sample Css .formText { float: left; width: 200px; }
July 26, 200818 yr Author To add to Dizi's bit... sample HTML <input type="text" id="myfieldname" name="myfieldname" size="30" value="" class="formText" /> Sample Css .formText { float: left; width: 200px; } Gr8 stuff thanks....
Create an account or sign in to comment