Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: Form style

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    I put this CSS code into the head section of my site:

    Code:
    .form {
      height: 18px;
      width: 60px;
      border: 1px solid #000000;
      font-family: Tahoma;
      font-size: 11px;
      background-color: #FFFFCC;
    }
    And then this as the form text box style:

    Code:
    <input type="text" name="textfield" class="form">
    However it doesn't seem to be using it for the form. Is there anything wrong with my code or what I have done?
    Rednerve
    Creative Freelance Design

  2.  

  3. #2
    Senior Member rosland's Avatar
    Join Date
    Jul 2003
    Location
    Norway
    Posts
    1,944
    Member #
    2096
    Works for me!

    Copied and pasted your code and just added the <style type="text/css"></style> tags around your class definition.

    (Maybe a browser thing? Only IE available from where I sit)
    S. Rosland

  4. #3
    Senior Member
    Join Date
    Mar 2004
    Posts
    1,518
    Member #
    5220
    Im previewing in IE. I'll try and get it sorted.
    Rednerve
    Creative Freelance Design


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com