www.webdeveloper.com
Results 1 to 2 of 2

Thread: Form Properties.

  1. #1
    Join Date
    Jan 2003
    Location
    Moon
    Posts
    37

    Form Properties.

    Hmm... Newbie to CSS

    I use limited CSS to my web pages, now my current web page, I need color format and align to my forms in HTML.

    I have couple of drop down menus, and a text box and a picture button.

    Now with the drop down menus I need to format with CSS sytle for background color, font color, and arrow buttons and scroller colors.

    With Text box I need only the border formating (color)

    And atlast I have a image which is 20x20 and this is going a bit up in the form I don't know how to align center all this (all are on the same horizantal level)

    Thanks in Advance.
    Your Excellency

  2. #2
    Join Date
    Dec 2002
    Location
    Switzerland
    Posts
    428
    If understood you correctly, you are searching for something like that:

    <style type="text/css">
    <!--
    select,option{
    background-color:green;
    color:white;
    }
    textarea{
    border:1px solid green;
    }
    -->
    </style>
    <body>
    <div align=center><img src="1.gif" width="20" height="20" border="1" alt="">
    <select>
    <option>test</option>
    </select>
    <textarea name="" cols="20" rows="20"></textarea>
    </div>
    </body>


    Swon

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles