3 replies [Last post]
CSSelgreco1965
CSSelgreco1965's picture
Offline
Enthusiast
Greece
Last seen: 9 years 26 weeks ago
Greece
Timezone: GMT+3
Joined: 2004-06-13
Posts: 51
Points: 28

Is it possible to CSS a textfield?
Alter the style of the scroll bar, etc. By that I mean get it to use images instead of the OS's default?

Thanks

The web becomes a tangled mess when Microsoft gets involved!

Arkkimaagi
Offline
Regular
Last seen: 16 years 24 weeks ago
Timezone: GMT+2
Joined: 2004-05-11
Posts: 29
Points: 0

textfields?

Yes, you can style a textarea, but it's somewhat limited. You can not use your own images in scrollbars with css as far as I know.

~ Arkkimaagi ~
Experto credite

CSSelgreco1965
CSSelgreco1965's picture
Offline
Enthusiast
Greece
Last seen: 9 years 26 weeks ago
Greece
Timezone: GMT+3
Joined: 2004-06-13
Posts: 51
Points: 28

textfields?

Is there a way to change the BG colour and the text colour. I've tried the usual, but nothing.

The web becomes a tangled mess when Microsoft gets involved!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 31 weeks 4 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

textfields?

There is, but the scrollbar attribute will only work in IE.

textarea { background-color: #666666; font-family: Verdana, sans-serif; color: #aaaaaa;
font-size: 8pt; font-weight: Bold; scrollbar-track-color: #666666;
border: #aaaaaa solid 1px; }

That will affect every textarea, mind you.

Verschwindende wrote:
  • CSS doesn't make pies