473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Redefine <a>

Hello,

Is it possible to define the color of an a tag when it is disabled?
<a disabled="disabled" class="PageNavigation">
&lt;
</a>

Thanks,
Miguel
Nov 21 '07 #1
4 1710
shapper wrote:
Hello,

Is it possible to define the color of an a tag when it is disabled?
<a disabled="disabled" class="PageNavigation">
&lt;
</a>
The A tag doesn't have a "disabled" attribute.
Nov 21 '07 #2
In article <5q************@mid.individual.net>,
Harlan Messinger <hm*******************@comcast.netwrote:
shapper wrote:
Hello,

Is it possible to define the color of an a tag when it is disabled?
<a disabled="disabled" class="PageNavigation">
&lt;
</a>

The A tag doesn't have a "disabled" attribute.
OP should look up disabled (html) or diabled="disabled" (xhtml)
for inputs and a few other things... make some experiments and
see the effect of disabling text, e.g, in text boxes in different
browsers. You can style the text in the proper contexts.

--
dorayme
Nov 21 '07 #3
Scripsit shapper:
Is it possible to define the color of an a tag when it is disabled?
<a disabled="disabled" class="PageNavigation">
&lt;
</a>
Wrong approach. You can't just make things up as you go, inventing
attributes and whatever. Use whatever authoring tools you are using to
create pages so that a page does not contain a link that is not supposed
to be a link.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Nov 21 '07 #4
On Wed, 21 Nov 2007 03:11:46 +0100, shapper <md*****@gmail.comwrote:
Is it possible to define the color of an a tag when it is disabled?
<a disabled="disabled" class="PageNavigation">
&lt;
</a>
As others have mentioned, there's no 'disabled' attribute for a.

However, more general: in CSS3 there are attribute selectors
(<http://www.w3.org/TR/css3-selectors/#attribute-selectors>). Not that
widely supported though, so you can't rely on it yet. Just something to
remember for the future.
--
Rik Wasmus
Nov 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Bane | last post by:
Am I right in thinking that... 1) in <redefine> I can either extend OR restrict a type but not both? 2) in <redefine> it's not possible to change a type from say <xs:string> to <xs:integer>? ...
2
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
1
by: RJN | last post by:
Hi I'm using XMLTextReader to parse the contents of XML. I have issues when the xml content itself has some special characters like & ,> etc. <CompanyName>Johnson & Jhonson</CompanyName>...
1
by: JezB | last post by:
I'm binding a DataGrid web-control to data fetched from a database. However some of my data fields contain text that is within <...> characters - I notice that everything between the <> is...
1
by: RJN | last post by:
Hi I'm using XMLTextReader to parse the contents of XML. I have issues when the xml content itself has some special characters like & ,> etc. <CompanyName>Johnson & Jhonson</CompanyName>...
1
by: mike | last post by:
I've got some code like this: gametype_id = Request.Form("gametype_id") response.write "<br>gametype_id from form>" & gametype_id & "<" response.write "<br>gametype_id from database>" &...
3
by: ajay2552 | last post by:
Hi, I have a query. All html tags start with < and end with >. Suppose i want to display either '<' or '>' or say some text like '<Company>' in html how do i do it? One method is to use &lt,...
2
by: ERingmae | last post by:
Hi, The environment is .NET 2.0, the language is C# and the problem is reading XSD file with xs:redefine section correctly to a XMLDataDocument.DataSet. What I am trying to do: I am trying...
14
by: Michael | last post by:
Since the include function is called from within a PHP script, why does the included file have to identify itself as a PHP again by enclosing its code in <?php... <?> One would assume that the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.