 |
 |
 |
 |
#64800 - 09/14/00 02:27 PM
Stylesheets help...
|
Moderator / Template Diva
Registered: 03/04/00
Posts: 3368
Loc: College
|
Awhile ago, I found this forums site. It's theme was for Diablo and Diablo II, but that doesn't really matter. Anyway, somehow using stylesheets, they made all the input boxes (name, password, subject, etc.) flat, and changed their background colors and border colors. Does anyone know how exactly to code my txt/css stylesheet to make all my input boxes flat and colored like that? Thanks much. BTW, I don't remember the exact site now, and the one I think it was has changed their layout so it no longer uses that stylesheet effect anymore. ---Skorpion ------------------ <IMG SRC="http://liquid.jaminnet.com/img/skorpion7.jpg" border=0> <FONT size="4">hi there, little boys and girls! today we're gonna learn how to poison squirrels!</FONT s> <FONT size="1">eminem, the kids</FONT s> <FONT size="2"> Liquid Nation Gaming Forums Liquified Industries </FONT s> [This message has been edited by Skorpion (edited September 14, 2000).]
_________________________
Don't put that signature in your mouth! You don't know where it's been!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#64801 - 09/14/00 04:07 PM
Re: Stylesheets help...
|
Member
Registered: 08/17/00
Posts: 795
Loc: U S of A
|
I'm not a bastardo , so I'll help you. To change the background color of the text boxes, texareas, drop down boxes, and other selection lists, simply make a class like: then in your page it would look like: to make a button flat and have a border/no border around it, make another class: Have fun and stay W3 compliant! Haha. ha. By the way, I used inline styles (style="") to make them here, but external sheets are of course the preferred method of doing such things. ------------------ <FONT size="1"> -davidbooey booey bashaka khans® lach de zuperrier </FONT s> [This message has been edited by evil-empire (edited September 14, 2000).]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#64802 - 09/14/00 04:14 PM
Re: Stylesheets help...
|
Moderator / Template Diva
Registered: 03/04/00
Posts: 3368
Loc: College
|
ROCK! Thanks a lot, evil-empire. That's exactly what I needed. ---Skorpion ------------------ <IMG SRC="http://liquid.jaminnet.com/img/skorpion7.jpg" border=0> <FONT size="4">hi there, little boys and girls! today we're gonna learn how to poison squirrels!</FONT s> <FONT size="1">eminem, the kids</FONT s> <FONT size="2"> Liquid Nation Gaming Forums Liquified Industries </FONT s>
_________________________
Don't put that signature in your mouth! You don't know where it's been!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#64804 - 09/14/00 05:32 PM
Re: Stylesheets help...
|
Member
Registered: 08/17/00
Posts: 795
Loc: U S of A
|
three more things: 1. You can change the font properties for text boxes and buttons as well. For text boxes, it will change the font of anything a user types, for buttons it will change the font of the button value (submit, reset,etc.). 2. Heres the really fun stuff. Ok, you know how your cursor turns into a hand when you move it over a link? You can do that for buttons too. And let me remind you what a normal button looks like: 3. I HIGHLY doubt any of this works in in netscape 4.x! Nothing does, especially not the really cool stylesheet functions like this. But then, it might. Don't worry though, it will in NS6. bless the W3. And, instead of me coming back here every 5 minutes telling you something else you can do, let me just tell you David's Law: When using style sheets, experiment.Try everything. ------------------ -david <FONT size="1">I wish the milkman would deliver my milk. In the morning.</FONT s> [This message has been edited by evil-empire (edited September 14, 2000).]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#64806 - 09/14/00 09:18 PM
Re: Stylesheets help...
|
Moderator / Template Diva
Registered: 03/04/00
Posts: 3368
Loc: College
|
Thanks for all the help, evil-empire! CE, what kind of drop-down menus do you mean? The Interplay has a really good javascript pop-up menu program. Their script was what I used and modified for the previous version of my forums. It's really good, simple, and quick. And their legal peepz even give you permission to use it! If that's the type of menu you're talking about, have at it, hope it helps. If not, I can't help you much more, sorry. Thanks again, E-E. ---Skorpion ------------------ <IMG SRC="http://liquid.jaminnet.com/img/skorpion7.jpg" border=0> <FONT size="4">hi there, little boys and girls! today we're gonna learn how to poison squirrels!</FONT s> <FONT size="1">eminem, the kids</FONT s> <FONT size="2"> Liquid Nation Gaming Forums Liquified Industries </FONT s>
_________________________
Don't put that signature in your mouth! You don't know where it's been!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#64810 - 09/16/00 08:08 PM
Re: Stylesheets help...
|
Member
Registered: 08/17/00
Posts: 795
Loc: U S of A
|
**** . **** **** **** **** **** .
None of this stuff works in netscape (4.x). I did three new pages on my site, all of which contain form fields, and all of which I applied some of the previously discussed formatting. In 4.7, weird little boxes show up, and textareas dont work at all. I know SOME of the formatting works, like font, bgcolor and such, but borders and such might be a problem... hey, that might be it. Some certain border-atrributes are buggy in NS4, let me see if i do it differently...
I'll edit this later if I get it to work.
I tried going to extremeforums.com to see what they did with theirs to make it work, but that site is (apparently) no more. It's replaced by a simple message written by someone who cannot even correctly specify the background color of the page. ich.
[EDIT] OK, I looked around and found nothing. I changed some of the things and it still doesn't work in netscape. Much as he doesn't want to admit it, the CSS guru needs help. Or maybe there isn't help.
its all netscape's fault. Im very tempted to just say **** it and let the NS4 users rot. but, that wouldn't be proper. [/EDIT] ------------------ -david <FONT size="1">I wish the milkman would deliver my milk. In the morning.</FONT s>
<font size=1>[This message has been edited by evil-empire (edited September 16, 2000).]</font>
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#64813 - 09/17/00 09:06 PM
Re: Stylesheets help...
|
Member
Registered: 08/17/00
Posts: 795
Loc: U S of A
|
well, thanks guys, I'll work on that later.
and, actually cal, you're wrong. It's not proprietary **** from IE. It's netscape 4's problem. "Cursor" is standard CSS, netscape 4 doesnt support it. Netscape 4 is pure shite, you see. Doesn't support anything, and that layer tag shite is useless. In NS6 they drop the layer tags and start complying with the W3, as IE has been doing. I'll bet you $5 that 'cursor' works in NS6.
And, interestingly enough, "cursor:hand" is wrong, according to the W3's online CSS validator. It's supposed to be "pointer", but I tried that and it doesnt work. Go figure.
------------------ -david <FONT size="1">I wish the milkman would deliver my milk. In the morning.</FONT s>
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|