Author |
Message |
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Mon Dec 30, 2002 11:01 pm (21 years, 3 months ago) |
|
Hiya,
Is there a way to get rid of underlining on hyperlinks without using CSS? Just I want to make everything on the left hand menu of every page on Freedom2Support.net a hyperlink, without the underlining. I really don't want to fiddle with the CSS, as I don't want to change normal links to this behaviour, just the ones on the left of the menu, also the style sheet I'm using is the same as the forums one, and that may mess it up a little.
I vaguley seem to remember there is a code you can put in each link tag to stop the underline from appearing, would someone be able to tell me what it is please?
Thanks!
Justin |
|
|
|
|
Darren
Team Member
Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Tue Dec 31, 2002 9:18 am (21 years, 3 months ago) |
|
You can just put the CSS in a style tag, like this:
Code: | <a href="link.html" style="text-decoration: none;">A Link</a> |
|
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Tue Dec 31, 2002 12:03 pm (21 years, 3 months ago) |
|
Darren wrote: | You can just put the CSS in a style tag, like this:
Code: | <a href="link.html" style="text-decoration: none;">A Link</a> |
|
Cheers, thought it was like that, just couldn't remember the exact code |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Tue Dec 31, 2002 2:54 pm (21 years, 3 months ago) |
|
you could use a CSS class, that'd be less code and would work exactly the same.
Here's the code you would put in the style sheet:
Code: |
a.left {
text-decoration: none;
}
|
and in the HTML:
Code: |
<a href="moo.html" class="left">MOO!</a>
|
|
________________________________ It's turtles all the way down... |
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Jan 02, 2003 5:53 pm (21 years, 3 months ago) |
|
adam wrote: | you could use a CSS class, that'd be less code and would work exactly the same.
Here's the code you would put in the style sheet:
Code: |
a.left {
text-decoration: none;
}
|
and in the HTML:
Code: |
<a href="moo.html" class="left">MOO!</a>
|
|
Thanks, Just put it on freedom2support |
|
|
|
|
Hertzsprung
WebHelper
Joined: 30 Jul 2002
Posts: 56
Location: UK
|
Posted:
Fri Jan 10, 2003 1:09 pm (21 years, 3 months ago) |
|
Justin wrote: | Darren wrote: | You can just put the CSS in a style tag, like this:
Code: | <a href="link.html" style="text-decoration: none;">A Link</a> |
|
Cheers, thought it was like that, just couldn't remember the exact code |
But that uses CSS! The answer is no, you have to use CSS to achieve this effect. |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Fri Jan 10, 2003 4:23 pm (21 years, 3 months ago) |
|
The reason why adam answered that is that he assumed that Justin didn't know or didn't think of putting the CSS in the tag itself, instead of putting it in a style sheet, which he didn't want to do. While it didn't answer the question, it made an assumption which turned out to be right. |
________________________________
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Fri Jan 10, 2003 6:19 pm (21 years, 3 months ago) |
|
I actually put it in the <Style> Tag of header.php |
|
|
|
|
|
Page generation time: 0.149884 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme