Reply
Newbie question - link properties in Dreamweaver?
Old 03-25-2005, 02:19 PM Newbie question - link properties in Dreamweaver?
maggoo1974's Avatar
Junior Talker

Posts: 1
Hi, this is the first of many future posts/questions from me...

I am building a website for my husband's business, and the links in the navigation bar are set to be yellow. However in the content area, where the background is white, the links obviously don't show up. Is there a way to set individual links to individual colors?

TIA!
__________________
Maggie
Fledgling Web Designer
Mother to Jack and Ella, born 2/10/05

Last edited by maggoo1974 : 03-25-2005 at 02:37 PM.
maggoo1974 is offline
Reply With Quote
View Public Profile Visit maggoo1974's homepage!
 
When You Register, These Ads Go Away!
Old 03-25-2005, 05:54 PM
sk8boarder2424's Avatar
Extreme Talker

Posts: 175
Location: Lockport Illinois
in the css style sheet, you can change the link style to the way you want it, then make a new style called .nav_links and set the a: the way you wnat, then surround all of your links in the <div style="nav_links"></div> tags
matt
__________________
"People created God in an effort to explain the unknown and soothe their fear of death."

-beasters
sk8boarder2424 is offline
Reply With Quote
View Public Profile Visit sk8boarder2424's homepage!
 
Old 03-25-2005, 07:42 PM
Average Talker

Posts: 20
You can use something like;

<a href="http://www.yahoo.com"style="color:blue">

in the href part of the code for the link and put the text colour you want. You can also put;

<a href="http://www.yahoo.com"style="text-decoration:none;color:blue">

to remove the underlining from the link. Particularly if you don't know what a CSS is like me

Last edited by moet : 03-25-2005 at 07:45 PM.
moet is offline
Reply With Quote
View Public Profile
 
Old 03-26-2005, 12:19 AM
sk8boarder2424's Avatar
Extreme Talker

Posts: 175
Location: Lockport Illinois
!! i suggest you google it, css is a very important aspect of web design....
it makes it so you dont have to put " style="color:blue" " in every link...
it sets the properties of each tag
for example instead of " style="color:blue" " you could havein your <head></head> tags:
Code:
<style type=text/css>
A:link {
	color: white;
	font-family: verdana;
	text-decoration: none
}
A:hover {
	color: #720000;
	text-decoration: underline overline
}
A:visited {
	color: white;
	font-family: verdana
}
</style>
so that every time you use the <a></a> tag with href="#" it will use the assigned attributes you used in your CSS style sheet. it saves yourslef alot of time when your making a page with many links
matt
__________________
"People created God in an effort to explain the unknown and soothe their fear of death."

-beasters

Last edited by sk8boarder2424 : 03-26-2005 at 12:23 AM.
sk8boarder2424 is offline
Reply With Quote
View Public Profile Visit sk8boarder2424's homepage!
 
Old 03-30-2005, 12:21 AM
Average Talker

Posts: 20
Thanks for that information. You are right it makes a lot of sense to do this with even a couple of pages.
moet is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Newbie question - link properties in Dreamweaver?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12134 seconds with 12 queries