| | |
link color
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2006
Posts: 2
Reputation:
Solved Threads: 0
hi, I'm new here and new to doing anything that has to do with designing anything for the internet. The teacher I am designing a site for has me using dreamweaver 8. The problem I have is that some of the links are not showing up in dreamweaver and a browser in the color I want them to be in. In some cases the color shows up in dreamweaver but not a browser. Can someone help me in getting the color to show up? (the color does show up when I highlight the link in dreamweaver even if it isnt that color. and sometimes the text color box won't let me pick the color i want)
I'm not familiar with dreamweaver... but open the code for the page in dreamweaver and look for the <body> tag. You can than change it for your links. You probably have the link color set, but the visited and active link colors are probably still default giving you undesired colors. Here is what you need to add/change in the <body> tag to set your colors.
link => changes the color of an un-visited link
alink => changes the color of a link that is currently being viewed
vlink => changes the color of a link that has been visited.
you can set them all to the same color if you never want the link color to change. To set the color simply put an = sign than the desired color in brackets. You can use the colors name or it's HEX code preceeded by a # (http://www.theodora.com/gif4/html_colors.gif)
For example:
<body link="#660000" alink="orange" vlink="FFFFFF">
link => changes the color of an un-visited link
alink => changes the color of a link that is currently being viewed
vlink => changes the color of a link that has been visited.
you can set them all to the same color if you never want the link color to change. To set the color simply put an = sign than the desired color in brackets. You can use the colors name or it's HEX code preceeded by a # (http://www.theodora.com/gif4/html_colors.gif)
For example:
<body link="#660000" alink="orange" vlink="FFFFFF">
•
•
Join Date: Jun 2006
Posts: 15
Reputation:
Solved Threads: 0
•
•
•
•
I would use css for that.
a:link { color: blue }
a:visited { color: #0000FF }
a:hover { color: #0000FF }
a:focus { color: #0000FF }
Yup I would definalty use CSS. If you get the time, check out the brilliant tutorials over at Adobe for CSS. I believe Adrian Senior had a good one that I learnt loads from. Once you get the basics of CSS you can change everything on a website.
•
•
•
•
I would use css for that.
a:link { color: blue }
a:visited { color: #0000FF }
a:hover { color: #0000FF }
a:focus { color: #0000FF }
a:link { color: blue; text-decoration: underline;}
a:hover { color: blue; text-decoration: none;}
a:visited {color:black; text-decoration: none;}
a:focus {color:red; text-decoration: underline;}
This piece of CSS will make your hyperlink have no underline when the user hovers over it. It will also make the text color change to black when it has been visited and red when it is clicked on.
•
•
•
•
Hi,
Yup I would definalty use CSS. If you get the time, check out the brilliant tutorials over at Adobe for CSS. I believe Adrian Senior had a good one that I learnt loads from. Once you get the basics of CSS you can change everything on a website.
•
•
•
•
I would use css for that.
a:link { color: blue }
a:visited { color: #0000FF }
a:hover { color: #0000FF }
a:focus { color: #0000FF }
a:link { color: blue; text-decoration: underline; }
a:visited { color: black; text-decoration: none;}
a:hover { color: pink; text-decoration: none;}
a:focus { color: red; text-decoration: underline; }
Give the above a try and that shoudl teach you a bit more about hyperlink styling.
![]() |
Similar Threads
- Link Exhange PR3, PR4, PR5 mortgage and finance related sites (Relevant Link Exchanges)
- CSS link target (HTML and CSS)
- link color works in FF but not IE (HTML and CSS)
- Cheap Sitewide link on Popular Webmaster Discussion Forum! (Ad Space for Sale)
Other Threads in the HTML and CSS Forum
- Previous Thread: Web Form Submission difficulties
- Next Thread: HTML-CSS trouble
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity create css design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl






