HighDots Forums  

Rounded corners on textfields

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Rounded corners on textfields in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Simon
 
Posts: n/a

Default Rounded corners on textfields - 12-21-2007 , 01:39 AM






Hello,

How can I convert all those ugly textfields into nicelooking textfields with
rounded edges? (Like the buttons in IE7)

I tried a css-newsgroup first but they thought it was possible using
javascript.

I need to use it for my form elements. (input type=text, etc)

Thanks,
Simon




Reply With Quote
  #2  
Old   
My Pet Programmer
 
Posts: n/a

Default Re: Rounded corners on textfields - 12-21-2007 , 05:03 AM






Simon took the time to say:
Quote:
Hello,

How can I convert all those ugly textfields into nicelooking textfields with
rounded edges? (Like the buttons in IE7)

I tried a css-newsgroup first but they thought it was possible using
javascript.

I need to use it for my form elements. (input type=text, etc)

Thanks,
Simon



Well, it's not impossible with JavaScript, but you're definitely going
to find it harder than CSS in this case.

1. Make text field transparent
2. Apply background image with rounded corners of appropriate size.
3. Rinse and repeat.

~A!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.