HighDots Forums  

style for file upload component input type=file

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss style for file upload component input type=file in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ssriram (Offline)
Junior Member
 
Posts: 2
Join Date: Sep 2006

Default style for file upload component input type=file - 09-29-2006 , 12:08 PM






Is there a way to apply style to form field input type="file" (file upload component) If so, how?

Thanks,

Sunitha Sriram

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: style for file upload component input type=file - 09-29-2006 , 02:46 PM






Scripsit ssriram:

Quote:
Is there a way to apply style to form field input type="file" (file
upload component) If so, how?
You can try to set any CSS properties for such an element. Usual CSS caveats
apply to an unusual degree. Browsers probably ignore most of your settings,
and they may apply them inconsistently, since a file input widget is rather
special. For example, if you set background-color for it, what do you set?
The background color of the Browse button, or the filename input box, or
both, or perhaps the background _around_ them?

As a rule of thumb, don't mess up the appearance of form fields. They have
recognizable "boring" appearance for a reason. In particular, leave file
input fields to their default appearance, to help users recognize these
relatively rare monsters.

More info: http://www.cs.tut.fi/~jkorpela/forms/file.html#present

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #3  
Old   
ssriram (Offline)
Junior Member
 
Posts: 2
Join Date: Sep 2006

Default Re: style for file upload component input type=file - 10-02-2006 , 07:42 AM



Thank you,

Sunitha Sriram

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.