You are here: Re: HTML problem « PHP Programming Language « IT news, forums, messages
Re: HTML problem

Posted by iulian.ilea on 12/16/85 11:59

Jim Carlock wrote:
> "iulian.ilea" <iulian.ilea@gmail.com> wrote:
> > I have this: <input name="fileUpload" type="file" class="subtitle"
> > title="GOGOGO" />
> > In entire application I have buttons customized. The button that
> > appears with <input type="file"... /> is a standard button. How can I
> > customize it? To be, let's say, coloured in green, orange, or any other
> > color...
>
> That's not really a PHP question. It's a style question, although some
> folks might suggest it's an HTML question (argument accepted with
> limitations).
>
> <input style="color:#EEEE00;background-color:#FFAA88;border:3px outset #FF0000;" ...
>
> Take a look at one of the CSS newsgroups for help with style
> questions...
>
> For PHP...
>
> <?php
> $sFGColor = "color:#EEEE00;";
> $sBGColor = "background-color:#FFAA88;";
> $sBorder = "border:3px outset #FF0000;";
> // ...
> ?>
>
> <?php
> // ...
> echo("<input style=\"$sFGColor $sBGColor $sBorder\" ... />\n");
> // ...
> ?>
>
> Good luck.
>
> North Carolina Swimming Pool Contractors
> http://www.aquaticcreationsnc.com/

:) I tried it before posting here :). The background of the browse
button doesn't change.

 

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

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