Closed Thread Icon

Preserved Topic: changeing select colors in form Pages that link to <a href="https://ozoneasylum.com/backlink?for=18082" title="Pages that link to Preserved Topic: changeing select colors in form" rel="nofollow" >Preserved Topic: changeing select colors in form\

 
Author Thread
phortay
Bipolar (III) Inmate

From: the_phortarium
Insane since: May 2001

posted posted 06-04-2001 10:11

I just made a form and changed the colors of the text boxes using CSS. My problem is with the <select> tag. I am using it to create a "state" (as in the 13 that make up the U.S.), but I cant get the background for these to work properly. Here is my code:

<style type="text/css">
input { background:#ffcc99; )
select { background:#ffcc66; }
</style>

somebody help please

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 06-04-2001 13:19

Hmm? I just went to "view wource", cause it seems to work here, doesn't it?

SELECT {
FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: verdana,arial; BACKGROUND-COLOR: #cbc6c3;
}

So, "background" all by itself doesn't mean anything, but "background-color" does, heh.

Your pal, -doc-

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-04-2001 16:10

CyTrO's tutorial at the Guru's Network pulls it all together nicely: http://www.gurusnetwork.com/tutorials/css/csstut.html

kars10
Bipolar (III) Inmate

From: Europe
Insane since: Mar 2001

posted posted 06-04-2001 23:24

i inserted that on my hompage but I couldn't find out what <select> and input is for...
is it for those form thingies?
k10


only change remains

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-04-2001 23:37

Kars10: for real?

It's a pull-down list like you see between the words "Hop to:" and the "Go" button on the lower right corner of this page.

phortay
Bipolar (III) Inmate

From: the_phortarium
Insane since: May 2001

posted posted 06-05-2001 09:24

hehehe...

I got the answer as soon as I came back....I used a parenthesis ')' instead of curly bracket '}'!
(I'm sure that is the technical term for it too!)
Look carefully at the end of the 'input' line


thanks for the responses all.

By the way Kars...these were tags I used in a form...thats why they didn't make a difference on your page.
thanx again

« BackwardsOnwards »

Show Forum Drop Down Menu