HighDots Forums  

Is Possible to alter the "disabled" style?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Is Possible to alter the "disabled" style? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Is Possible to alter the "disabled" style? - 12-19-2003 , 01:29 AM






Hi,

Is Possible to alter the "disabled" style?

I have got

<input name="test" value="1" disabled>

This makes the input field gray and shadow.

Is it possible to alter the style so that I can define how the disabled is shown?

Morten

Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: Is Possible to alter the "disabled" style? - 12-19-2003 , 01:42 AM






Kruse wrote:
Quote:
input name="test" value="1" disabled

Is it possible to alter the style so that I can define how the disabled is
shown?
Theory:

input[disabled] { }

Practise:
Won't work in MSIE (boo hiss evil Microsoft).
Untested in other browsers (most support attribute selectors, I don't know
about styling of disabled form elements).

--
David Dorward <http://dorward.me.uk/>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.