Results 1 to 2 of 2
  1. #1
    schoolyard
    Guest
    Safari: CSS class not applied to form text boxes
    Has anybody figured out any way to have Safari assign class attributes to a form text box. This is pretty standard in Netscape/IE for OS 9/Windows. For these browsers you just establish a class - something like .textbox - and then assign font sizes and colors and more importantly dimensions to the class so that they're applied to the text box.Safari doesn't seem to allow this or recognize the class. Any help would be appreciated.

  2. #2
    Safari: CSS class not applied to form text boxes
    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Location
    Mount Vernon, WA
    Posts
    4,915
    Specs:
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    I apply those css values all the time.. havent tried the dimensions though, but font colors and sizes, and styles, it definitely works..

    <textarea class="yourclass"></textarea>
    or
    <textarea style="font-size: 12px; color: red"></textarea>

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. CSS centering text both horizontally and vertically
    By archos4 in forum Web Design and Hosting
    Replies: 6
    Last Post: 02-22-2011, 04:34 AM
  2. Convert CSS class to inline style -- paid/free, i don't care!
    By almirr in forum OS X - Apps and Games
    Replies: 1
    Last Post: 02-03-2010, 03:05 PM
  3. Safari 4 Text Boxes smaller than they should be
    By celticpride in forum OS X - Apps and Games
    Replies: 0
    Last Post: 07-27-2009, 09:57 PM
  4. Un-deleteable text boxes
    By sarahp in forum Web Design and Hosting
    Replies: 2
    Last Post: 02-03-2008, 08:51 PM
  5. Replies: 11
    Last Post: 08-20-2004, 05:26 PM

Posting Permissions

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