View Full Version : customise the style of the textfield !!!
wanye
03-26-2003, 04:13 PM
hi all, how do i actually customise the style of the textfield instead of the default, boring one? i will like to change its border color and the embossed border. how do i go about doing it? do i need to use style sheets? thx...
i would like to change the default style to something like the picture below:
ionsurge
03-26-2003, 04:16 PM
Yep.
Do something like this:
border-right: 1px solid #hexcolor;
border-left: 1px solid #hexcolor;
border-top: 1px solid #hexcolor;
border-bottom: 1px solid #hexcolor;
redhead
03-26-2003, 04:31 PM
like ionsurge said... something like this i'd imagine:
<input type="text" style="background-color: #D4D4D4; border: 1px solid #7C7C7C; font-family: verdana; font-size: 10pt;" value="Something like this...">
wanye
03-26-2003, 05:04 PM
hey fren, can show me the complete stylesheet? thx..
coz i noe nothing abt css.
redhead
03-26-2003, 05:25 PM
what... like this?
<style>
input {
background-color: #D4D4D4;
border: 1px solid #7C7C7C;
font-family: verdana;
font-size: 10pt;
}
</style>
<input type="text" value="Whatever">
? methinks you need to learn CSS: http://www.w3schools.com/css/css_intro.asp
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.