HighDots Forums  

Disabled Attribute

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


Discuss Disabled Attribute in the Cascading Style Sheets forum.



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

Default Disabled Attribute - 11-29-2007 , 07:37 AM






Hello,

Is disabled attribute available for <a> tag?
I am asking this because a new control in ASP.NET 3.5 is doing that.

Thanks,
Miguel

Reply With Quote
  #2  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Disabled Attribute - 11-29-2007 , 07:55 AM






On 29 Nov, 13:37, shapper <mdmo... (AT) gmail (DOT) com> wrote:
Quote:
Is disabled attribute available for <a> tag?
Specification is here:
http://www.w3.org/TR/html4/struct/links.html#edef-A

and there's no "disabled" attribute. Only the user input controls
associated with <form> (<input>, <select> etc.) support disabled.

Quote:
I am asking this because a new control in ASP.NET 3.5 is doing that.
Then don't choose to build your projects with broken tools, like these.


Reply With Quote
  #3  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Disabled Attribute - 11-29-2007 , 08:15 AM



shapper wrote:
Quote:
Hello,

Is disabled attribute available for <a> tag?
No.

Quote:
I am asking this because a new control in ASP.NET 3.5 is doing that.
Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.


Reply With Quote
  #4  
Old   
shapper
 
Posts: n/a

Default Re: Disabled Attribute - 12-02-2007 , 09:05 AM



On Dec 2, 11:21 am, Mark <u... (AT) example (DOT) net> wrote:
Quote:
Harlan Messinger wrote:
shapper wrote:
Hello,

Is disabled attribute available for <a> tag?

No.

I am asking this because a new control in ASP.NET 3.5 is doing that.

Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.

What does this attribute look like? Like this?

a href="http://www.google.co.uk/" disabled="disabled">This shouldn't
work</a>.

This doesn't work (in the sense that the link works) in either IE6 or
Firefox 2, although the link does have a strange appearance in IE6.
Yes, it changes the background color of the link.
This is a mess. I already reported to Microsoft.

And I got a way around. I implemented a template in Asp.Net.

Thanks,
Miguel


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.