4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu
Please consider registering: registration is fast, easy and free! Benefits of registration:
  • Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
  • Discount at TemplateMonster: All our members enjoy a 10% discount at TemplateMonster.com!
  • Private Messages: Exchange private messages with other members of the forums.
  • Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.

 Getting rid of underline on hyperlinks WITHOUT css
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Mon Dec 30, 2002 11:01 pm (11 years, 10 months ago) Reply with QuoteBack to Top

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
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Darren
Team Member



Joined: 05 Feb 2002
Posts: 549
Location: London

PostPosted: Tue Dec 31, 2002 9:18 am (11 years, 10 months ago) Reply with QuoteBack to Top

You can just put the CSS in a style tag, like this:
Code:
<a href="link.html" style="text-decoration: none;">A Link</a>
OfflineView User's ProfileFind all posts by DarrenSend Personal MessageVisit Poster's Website
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Tue Dec 31, 2002 12:03 pm (11 years, 10 months ago) Reply with QuoteBack to Top

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 Smile
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Dec 31, 2002 2:54 pm (11 years, 10 months ago) Reply with QuoteBack to Top

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...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Thu Jan 02, 2003 5:53 pm (11 years, 9 months ago) Reply with QuoteBack to Top

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 Smile
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Hertzsprung
WebHelper
WebHelper


Joined: 30 Jul 2002
Posts: 56
Location: UK

PostPosted: Fri Jan 10, 2003 1:09 pm (11 years, 9 months ago) Reply with QuoteBack to Top

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 Smile


But that uses CSS! The answer is no, you have to use CSS to achieve this effect.
OfflineView User's ProfileFind all posts by HertzsprungSend Personal MessageVisit Poster's Website
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564
Location: London, UK

PostPosted: Fri Jan 10, 2003 4:23 pm (11 years, 9 months ago) Reply with QuoteBack to Top

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.

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal MessageVisit Poster's Website
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Fri Jan 10, 2003 6:19 pm (11 years, 9 months ago) Reply with QuoteBack to Top

I actually put it in the <Style> Tag of header.php
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.

PoignantEase
Web design, coding, script installation, phpBB customisation - From a 4WebHelp team member



Page generation time: 0.0404 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme