rstaticn
06-25-2003, 10:57 AM
is there any way of formating this
|
Click to See Complete Forum and Search --> : textbox background color rstaticn 06-25-2003, 10:57 AM is there any way of formating this CrazyGaz 06-25-2003, 11:06 AM Theoretically this is CSS but I can still help. In the <head> section of your site put the following. .txtbox { background-color: #E56F6F; } then where you put the text box. <input type="text" class="txtbox"> Gaz David Harrison 06-25-2003, 03:25 PM If you only want to do this for one text box it may be better to just do this: <input type="text" name="name" style="background:#ff0000;"> If however you want to do this for many textboxes, then use CrazyGaz's code. CrazyGaz 06-25-2003, 06:08 PM lavalamp, yes your method is good for one however even if it is for one I still use my method (habit I guess) however both methods are valid, it is really a matter of choice. PeOfEo 06-26-2003, 12:08 AM I find myself using lavalamp's more :P I like putting a style tag inside elements sometimes its more conveiniant then a class. Depends on the situation though. rstaticn 06-26-2003, 03:49 PM thank-you for all the help! sorry bout the wrong forum... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |