PsychoFarmer

"teh
"

Posts: 70

Reputation:

2nd Jan 04, 5:40pm | Quote | Reply

Blogs | Profile | RSS Feed

ive never had a chance to use forms until just recently, but i was wondering if someone knew what can be set in css for forms, and what the commands are?

azz0r

Posts: 30,935

Reputation:

2nd Jan 04, 6:18pm | Quote | Reply

Blogs | Profile | RSS Feed

textfield, textarea, button.


<input type="submit" class="button" name="posting_reply" value="New thread">

<textarea name="post_text" rows="10"></textarea>

<input name="title" type="text" class="textfield" size="100" maxlength="100">



and the css stuff


textarea

{font-size : 12px; 

background-color : #f3f3f3; 

color : #333333; 

border : 1px solid black; 

width: 98%;} 



.textfield

{color : #333333;

font-size : 10px; 

border : 1px solid black;

background-color : #f3f3f3;} 





.button

{font-size: 12px;

font-weight: bold;

color: #E5E5E5;

background-color: #838B97;

height:24px;

border: 1px black solid;}



change your avatar
A dyson and breast implants? ooo

PsychoFarmer

"teh
"

Posts: 70

Reputation:

3rd Jan 04, 2:31am | Quote | Reply

Blogs | Profile | RSS Feed

thanks for the help azzy

i was screwing up the border command

The_Wolf

Posts: 803

Reputation:

3rd Jan 04, 4:10am | Quote | Reply

Blogs | Profile | RSS Feed

One thing I should say, borders should be in this order 'boarder : [size](px|pt|em) [mode] [colour];' because some browsers can get confused sometimes.

Oh and please don't be another of those people who formats code blocks like azz0r.. they are  apain in the ass

azz0r:

textarea

{font-size : 12px;

background-color : #f3f3f3;

color : #333333;

border : 1px solid black;

width: 98%;}



sane persons:

textarea {

      font-size : 12px;

      color : #333333;

      border : 1px solid #000000;

      width : 99%;

}



OR:

textarea {

      font-size : 12px; color : #333333;

      border : 1px solid #000000; width : 99%;

}

Now playing: Frenzal Rhomb Russel Crowe's Band (Is A Fucking Pile Of Shit)

azz0r

Posts: 30,935

Reputation:

3rd Jan 04, 2:31pm | Quote | Reply

Blogs | Profile | RSS Feed

*azz0r still thinks my method looks 200% more organised.
A dyson and breast implants? ooo

PsychoFarmer

"teh
"

Posts: 70

Reputation:

6th Jan 04, 5:13am | Quote | Reply

Blogs | Profile | RSS Feed

i actually do your first example for all of it :P

azz0r

Posts: 30,935

Reputation:

6th Jan 04, 11:08am | Quote | Reply

Blogs | Profile | RSS Feed

ownage
A dyson and breast implants? ooo

The_Wolf

Posts: 803

Reputation:

6th Jan 04, 1:04pm | Quote | Reply

Blogs | Profile | RSS Feed

Organized? organized? its not in an even line!! the blocks all fucked up :/

you have

parent
- child
- child
- child
end

not

parent -child
- child
- child end

looks like they enjoy each others buts too much :/
Now playing: Frenzal Rhomb Russel Crowe's Band (Is A Fucking Pile Of Shit)

azz0r

Posts: 30,935

Reputation:

6th Jan 04, 1:27pm | Quote | Reply

Blogs | Profile | RSS Feed

parent
begin child
child
child
child end

Makes more sense.
A dyson and breast implants? ooo

Shuzer

Posts: 337

Reputation:

16th Jan 04, 10:59pm | Quote | Reply

Blogs | Profile | RSS Feed

I format code blocks in a similar fashion to azz0r's method, I've always disliked the "proper" way, looks too bloated/manufactured.. azz0r's looks more organized IMO

azz0r

Posts: 30,935

Reputation:

22nd Mar 04, 11:21pm | Quote | Reply

Blogs | Profile | RSS Feed

Thank you

Its true though, blocks are easier than tabbing.
A dyson and breast implants? ooo