You are here: Re: input type="file" « HTML « IT news, forums, messages
Re: input type="file"

Posted by Jukka K. Korpela on 09/27/71 12:02

Scripsit K.:

>>> Is it possible to change the "Browse" text of <input type='file'>
>>> button?
>>
>> No
- -
> I am not sure if you understood me properly.

Your question was easy to understand. Maybe you wanted to ask some other
question?

> I don`t want to change the text of "Browse" button.

Then why did you ask whether it is possible to change it?

> I want to change the fonts and color of this "Browse" button

Stop wanting that. Problem solved.

There are good reasons why you should not try to change the appearance,
no matter how ugly it looks like to you. (One of the minor reasons is
that when people try to do that, they end up with something much
uglier.)

> without changing the input fields
> where the path is put.

So you would like to restrict the effect of a style sheet rule to one
part of the presentation of an element, right? Such things are possible
in CSS in limited cases, such as using the :first-letter pseudo-element,
but there is nothing remotely resembling this at present. Browsers have
their oddities, and if you throw a sufficient amount of imaginative or
just random CSS rules at them, they might some day do something like
that, but that should be considered as a bug.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация