Results 1 to 9 of 9

Thread: Text box fill??

  1. #1
    Join Date
    Dec 2004
    Location
    UK
    Posts
    534
    Tokens
    141

    Default Text box fill??

    i have text boxes that are white..



    how do i fill them with a different colour??
    Post Count: :eusa_danc 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 :eusa_danc

  2. #2
    Join Date
    Jul 2004
    Location
    CB9
    Posts
    4,996
    Tokens
    0

    Latest Awards:

    Default

    look at my post on html and there is a site in there witha loada html stuff

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    534
    Tokens
    141

    Default

    im on http://htmlgoodies.com/


    but where do i go exactly lol
    Post Count: :eusa_danc 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 :eusa_danc

  4. #4
    JoeComins Guest

    Default

    <body bgcolor=?>
    Sets the background color, using name or hex value

    in the box underneath he thingys

  5. #5
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by Habbo-Mike2005
    i have text boxes that are white..



    how do i fill them with a different colour??
    Just a bit of css

    for exsample heres a basic text aria
    HTML Code:
    <textarea name="textarea"  >  </textarea>
    Now to give it a background colour, you need some css to do this.

    for exsmple

    HTML Code:
    <style>
    .txtariacss {
    	color: #FFFFFF;
    	background-color: #000000;
    }
    </style>
    Now this for exsamoke would make the text box back black, and the writing in it white. Change the hex codes for differnt colours.

    Next step is to apply the css bit to the text aria.

    this can be done with the class attribute

    HTML Code:
    <textarea name="textarea"  class="txtariacss">  </textarea>
    The class uses the name gievn to the css to attach itself. and now that text box follows what the css tells it to, aka white text, balck background.

    Does that help at all?

  6. #6
    JoeComins Guest

    Default

    couldn't u ust use basic html to do it tho?

  7. #7
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Im not entirly sure, you probaly can, but alot of the html based formating tags are being phased out by modern browsers, to make place for the css, wich is seen as the standard formatting landgwage by w3 etc.

  8. #8
    JoeComins Guest

    Default

    rite. i get ya

    ty

  9. #9
    Join Date
    Dec 2004
    Location
    UK
    Posts
    534
    Tokens
    141

    Default

    yea thx that did help

    Post Count: :eusa_danc 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 :eusa_danc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •