Safari: CSS class not applied to form text boxes

S

schoolyard

Guest
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.
 
Joined
Jun 11, 2003
Messages
4,915
Reaction score
68
Points
48
Location
Mount Vernon, WA
Your Mac's 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>
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top