|
Posted by Jim Carlock on 12/16/24 11:59
"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/
Navigation:
[Reply to this message]
|