GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Easy Question: (https://gfy.com/showthread.php?t=59900)

Pathfinder 05-08-2002 11:35 PM

Easy Question:
 
How do I change the color on this submit button?

<input type=submit value="Search the Site">

hyper 05-08-2002 11:37 PM

easy answer

<form>
<input type="submit" style="background-color: #99cccc" value="Search the Site">
</form>

Pathfinder 05-08-2002 11:44 PM

Got it. Thanks.

hyper 05-08-2002 11:54 PM

your welcome

-=HUNGRYMAN=- 05-08-2002 11:58 PM

Hey hyper .... little tougher question

<textarea name="textfield" cols="65">How do we change the background color and text color of this field ??</textarea>


WTF ???
I did not do that ... I am guessing that it is done with this pages CSS stlyes ???

hyper 05-09-2002 12:16 AM

<INPUT TYPE="text" SIZE="40" STYLE="background:pink" STYLE="color:purple" VALUE="HUNGRYMAN - Haven't you ever heard of css?">

Amputate Your Head 05-09-2002 12:18 AM

css rules..... I use hard code styling in my heads... but the result is the same. :thumbsup

SirTreX 05-09-2002 12:20 AM

<select size="1" name="D1" style="background-color: #0000FF; color: #FFFFFF; font-family: Verdana; font-size: 10 px; font-weight: bold; border-style: dotted; border-color: #000000">
<option>Hungryman has heard of css</option>
<option>Hungryman has not heard of css</option>
</select>

Theo 05-09-2002 12:26 AM

<INPUT TYPE="text" SIZE="80" STYLE="background:red" STYLE="color:white" VALUE="Equinox is GAY.....So what?? Mind your own business">

hyper 05-09-2002 12:29 AM

HUNGRYMAN Knows CSS <input type="radio" name="HUNGRYMAN Knows CSS" value="yes" style="background : teal; color: #cc99ff">
HUNGRYMAN Doesnt Know CSS <input type="radio" name="HUNGRYMAN Doesnt Know CSS" value="No" style="background : teal; color: #cc99ff">

hyper 05-09-2002 12:04 PM

Quote:

Originally posted by Soul_Rebel
<INPUT TYPE="text" SIZE="80" STYLE="background:red" STYLE="color:white" VALUE="Equinox is GAY.....So what?? Mind your own business">
LOL

Fizz 05-09-2002 12:11 PM

css is good thing if everybody uses IE 5 or better...

If your customer uses Netscape you'll be sooner or later big trouble... :BangBang:
Netscape Sucks good...

:Graucho

ServerGenius 05-09-2002 12:17 PM

Quote:

Originally posted by Fizz
css is good thing if everybody uses IE 5 or better...

If your customer uses Netscape you'll be sooner or later big trouble... :BangBang:
Netscape Sucks good...

:Graucho

Well a browser detection script is plain simple....and if you include CSS rather then putting it in the HTML itself itīs very easy to pick the correct style sheet for the approriate browser.....

DynaMite

If you want an example let me know...I use it all the time :1orglaugh

ServerGenius 05-09-2002 12:20 PM

$style = "netscape";

if(strstr($HTTP_USER_AGENT, "MSIE")){
$style = "style";
}


< link
rel = "stylesheet"
type = "text/css"
href = "<?=$style?>.css"
/>

There you go!

DynaMite


All times are GMT -7. The time now is 10:01 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123