This is a discussion on "How to disable a hyper link <A>" within the Web Page Design section. This forum, and the thread "How to disable a hyper link <A> are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How to disable a hyper link <A>
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
How to disable a hyper link <A>
Can I disable a hyperlink using css etc.
For print preview functionality I am displaying a html screen using a different style sheet. The page has got hyper links, i have added style to show it as normal black text instead of the general blue underlined text. But the link is still clickable, which is creating problem. So I am looking for a way to disable all the hyper link on the page, any css style would be greate, but could not find one. |
|
|
|
|||
|
Re: How to disable a hyper link <A>
You could use php do do a preg_replace
|
|
|||
|
Re: How to disable a hyper link <A>
Do you want them still to be displayed? If not you could do
|
|
|||
|
Re: How to disable a hyper link <A>
Thanks for the replies,
I still need to display the link text, but it should behave as normal text. Quote:
|
![]() |
| Tags |
| disable, hyper, link, ltagt |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Right click disable.. | tipgal | JavaScript Forum | 6 | Feb 10th, 2008 18:46 |
| disable two inputs | smudge618 | JavaScript Forum | 2 | Feb 7th, 2008 15:24 |
| hyper link problem | jessina | Web Page Design | 2 | Apr 19th, 2007 15:40 |
| Disable button | Nick | JavaScript Forum | 26 | Jan 29th, 2005 07:20 |