How to remove underline and blue color from text in html?

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Aug 2008
Posts: 28
Reputation: Vandithar is an unknown quantity at this point 
Solved Threads: 0
Vandithar Vandithar is offline Offline
Light Poster

How to remove underline and blue color from text in html?

 
0
  #1
Jun 23rd, 2009
Hi,

I have hyperlinked texts and i want to remove the underline and blue color also.

I removed underline but not the blue color i want the font to be in black??

Here is the code:
  1. <html>
  2. <body>
  3. <A STYLE="text-decoration:none href=http://www.google.com> This is an example for automatic term mapping</A>
  4. </body>
  5. </html>

How can i get the font color of the sentence in black color???

Any idea??

Regards
Vandhita
Last edited by peter_budo; Jun 23rd, 2009 at 8:30 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 954
Reputation: essential will become famous soon enough essential will become famous soon enough 
Solved Threads: 131
Featured Poster
essential's Avatar
essential essential is offline Offline
Posting Shark

Re: How to remove underline and blue color from text in html?

 
0
  #2
Jun 23rd, 2009
Try doing this : <a href="http://www.someplace.com/" style="text-decoration : none; color : #000000;">http://www.someplace.com</a>
or if you want to apply it with all the links in your page.

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <title>Some title</title>
  4. <style type="text/css">
  5. <!--
  6. a { text-decoration : none; color : #000; }
  7. -->
  8. </style>
  9. </head>
  10. <body>
  11. <div>
  12. <a href="http://www.link1.com/">Link1</a><br>
  13. <a href="http://www.link2.com/">Link2</a><br>
  14. <a href="http://www.link3.com/">Link3</a>
  15. </div>
  16. </body>
  17. </html>
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 16
Reputation: m42 is an unknown quantity at this point 
Solved Threads: 0
m42's Avatar
m42 m42 is offline Offline
Newbie Poster

Re: How to remove underline and blue color from text in html?

 
0
  #3
Jun 23rd, 2009
Try this:

  1. <html>
  2. <body>
  3. <a style="color:black; text-decoration:none" href="http://www.google.com"> This is an example for automatic term mapping</a>
  4. </body>
  5. </html>
Last edited by peter_budo; Jun 24th, 2009 at 5:26 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,325
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: How to remove underline and blue color from text in html?

 
0
  #4
Jun 23rd, 2009
Go with essential's answer
its better to separate style and content,
the css can be externalised (once) when you have the page design right
for the entire site and reduced file sizes - download times are always a good thing
else every element that has to be styled needs style=" bleep loads of style text margin border padding color background "
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 13
Reputation: lovemyseo is an unknown quantity at this point 
Solved Threads: 0
lovemyseo lovemyseo is offline Offline
Newbie Poster

Re: How to remove underline and blue color from text in html?

 
0
  #5
Jun 23rd, 2009
Why dont you use dream weaver man just use it and work in html or any other language as you are working on Microsoft word.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC