473,385 Members | 2,274 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.

formating disabled hyperlink ?

Hi everybody !

I have a repeater displaying hyperlinks. I format these with CSS. If
there's no url 'behind' the hyperlink, It's displayed as a disabled
hyperlink, and an aditional text ", no link available".
(managed to pull this this off with help from this forum :-)

The problem I have now is that the disabled hyperlinks are displayed in
the default color grey, which looks kind of lame here. I want ithem to
be displayed in the same color as the active hyperlinks. But there's no
"A:disabled" available in CSS, so I'm not sure if it's posible to work
around this some way.

Any suggestions ???

thanks a bundle...
cheers,

Fredrik

Nov 19 '05 #1
2 2160
I think you can either set the cssclass attribute or style on each non linked
anchor or use A{mystyle definition} then do the A:link etc to format your
live links (untested)

HTH jd

"fr*******@hotmail.com" wrote:
Hi everybody !

I have a repeater displaying hyperlinks. I format these with CSS. If
there's no url 'behind' the hyperlink, It's displayed as a disabled
hyperlink, and an aditional text ", no link available".
(managed to pull this this off with help from this forum :-)

The problem I have now is that the disabled hyperlinks are displayed in
the default color grey, which looks kind of lame here. I want ithem to
be displayed in the same color as the active hyperlinks. But there's no
"A:disabled" available in CSS, so I'm not sure if it's posible to work
around this some way.

Any suggestions ???

thanks a bundle...
cheers,

Fredrik

Nov 19 '05 #2
Hi again !

Thanks for your help, but unfortunately it didn't work. I've come as
far as I can change the size, text-decoration, etc, on the disabled
links, but the color just won't change !

any further suggestions are most wellcome...

Cheers,
Fredrik

Nov 19 '05 #3

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

Similar topics

8
by: Seth | last post by:
How can I completely turn off the auto formatting of Html in Visual Studio 7? I have tried all possible combinations (at least I think I have) of the Tools / Options / Text Editor / HTML XML /...
5
by: patricksabourin | last post by:
On my site, I have 2 methods of displaying my data: 1) HTML form with select-option element. (Jump to different page when clicking "Go" button" 2) HTML table with a hyperlink. What I would...
0
by: joelranck | last post by:
I'm trying to format the data from our database query that is being binded to a DataGrid. Basically an easy example to understand the problem is a field in the database uses 1's and 0's to show...
0
by: Swoosh | last post by:
Hi All, I am using ASP.Net Webcontrol to emit some HTML. The control is either a HyperLink or LinkButton. When I disable the control (by setting the controlls Enabled property) the following...
6
by: Jon Slaughter | last post by:
For debugging purposes of handling evaled code I first write it to a temp file and then use include. The problem is, is that the code is not formatted and is very hard to follow. Is there a php...
0
by: Fonix | last post by:
I'm trying to make table border with pyExcelerator. As i can see there is only cell formating!? If i'm wrong pls tell me what is method to make more then one cell to have same format, other then...
20
by: tshad | last post by:
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is...
2
by: sitko | last post by:
Hi, I'm in the process of converting a VB.net program into a C program so it can run on a unix like machine. I've been moving along at a nice pace, but this conversion has stumped me. I need...
6
by: jeddiki | last post by:
Hi, I have a database record which contains the contents of an email and in the email there should be a clickable link. For some reason the link is not formatting correctly. Maybe it is...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.