Closed Thread Icon

Preserved Topic: Colored forms (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18059" title="Pages that link to Preserved Topic: Colored forms (Page 1 of 1)" rel="nofollow" >Preserved Topic: Colored forms <span class="small">(Page 1 of 1)</span>\

 
Blook
Paranoid (IV) Inmate

From: Utah, USA
Insane since: Apr 2000

posted posted 07-31-2001 08:04

How do you make colored forms? I'm talking about the text boxes like this forum uses. How do you change the background color and outline color on them? Thanks.




These eyes have walls.

fallen
Bipolar (III) Inmate

From: A ripped t-shirt pocket.
Insane since: Aug 2000

posted posted 07-31-2001 08:17

CSS. If you look at the source for any of the pages in the asylum and you'll notice that in the <head> tags there'll be the <style> tags and inbetween those you'll notice that the input tags and textarea are redefined to look a certain way. IE, having a special bg color and having an outline etc...you can also just make your own CSS class and apply to each form object for example:
<html>
<head>
<style>
.form { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #FFFFFF; text-decoration: none; background-color: #663300; border: #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
</style>
</head>

this is how your "form" class is defined. now to apply it to a form object:

<INPUT TYPE="TEXT" NAME="UserName" VALUE="" SIZE=25 MAXLENGTH=25 CLASS="form">

There ya go.


[dis]contempt+[.org]

Blook
Paranoid (IV) Inmate

From: Utah, USA
Insane since: Apr 2000

posted posted 07-31-2001 08:45

Thanks for the quick reply. It is almost 1am here so I'll give that a try tomorrow. Thanks again.


These eyes have walls.

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-31-2001 14:16

This might help: http://www.gurusnetwork.com/tutorials/css/csstut.html

"It takes months to find a customer, more than 5 seconds of load time to lose one."

fallen
Bipolar (III) Inmate

From: A ripped t-shirt pocket.
Insane since: Aug 2000

posted posted 07-31-2001 20:48

Wow, hey, I never thought about playing with the individual items that way. Awesome.


[dis]contempt+[.org]

« BackwardsOnwards »

Show Forum Drop Down Menu