| | |
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
![]() |
•
•
Join Date: Aug 2008
Posts: 28
Reputation:
Solved Threads: 0
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:
How can i get the font color of the sentence in black color???
Any idea??
Regards
Vandhita
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:
html Syntax (Toggle Plain Text)
<html> <body> <A STYLE="text-decoration:none href=http://www.google.com> This is an example for automatic term mapping</A> </body> </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.
Try doing this :
or if you want to apply it with all the links in your page.
<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)
<html> <head> <title>Some title</title> <style type="text/css"> <!-- a { text-decoration : none; color : #000; } --> </style> </head> <body> <div> <a href="http://www.link1.com/">Link1</a><br> <a href="http://www.link2.com/">Link2</a><br> <a href="http://www.link3.com/">Link3</a> </div> </body> </html>
Try this:
html Syntax (Toggle Plain Text)
<html> <body> <a style="color:black; text-decoration:none" href="http://www.google.com"> This is an example for automatic term mapping</a> </body> </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.
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
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
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
![]() |
Similar Threads
- How to change color of text in textbox? (Visual Basic 4 / 5 / 6)
- background color behind text of icons question (Windows NT / 2000 / XP)
- Searching text from html source code (VB.NET)
- Why color should be disabled ... (DaniWeb Community Feedback)
- javascript works in IE but not working in firefox (JavaScript / DHTML / AJAX)
- deaktop background stuck with Blue color!! (Viruses, Spyware and other Nasties)
- Windows blue screen, but no text! (Windows NT / 2000 / XP)
- How to code a program that can show color text output??? (C)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Show loading Animation before iframe is fully loaded
- Next Thread: Multiple Div Toggle Show/Hide... IE7 not hiding.
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column createrange() css cursor debugger dependent disablefirebug dom download dropdown editor element embed engine error events explorer ext file form forms getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post problem programming progressbar regex runtime scroll search security select session shopping size software sql text textarea unicode w3c web website window windowofwords windowsxp wysiwyg \n






