Rustyhands Posted May 25, 2011 Report Share Posted May 25, 2011 hi everyone as the title suggests......how can i add more areas and change the sizes of them??? anyones help would be fantastic cheers rusty Quote Link to comment Share on other sites More sharing options...
Wickham Posted May 25, 2011 Report Share Posted May 25, 2011 You can change the size of a textarea by adding cols and size:- <textarea name="comment" rows="6" cols="40">Type your message here></textarea> but a more accurate way is to add a class or id and specify sizes in px:- CSS in stylesheet:- .textarea { width: 90px; height: 35px; } HTML markup:- <textarea class="textarea" name="comment">Type your message here></textarea> To add more areas, just repeat the code (possibly with different classes and styles). Quote Link to comment Share on other sites More sharing options...
grabenair Posted May 25, 2011 Report Share Posted May 25, 2011 use div tags like <div id="main_content">content goes here</div> and use css to style it. I would suggest going to killersites tutorials and start there. Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.