Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 24th, 2005, 04:21 PM
Registered User
 
Join Date: Feb 2005
Location: Decatur, Ga, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default changing a link's text color

In Dreamweaver MX 2004, I have set the page's link, vlink and alink color values to gold. (I set the link's rollover color to red). So now the default color for the links on the page is gold, (rollover color is red). But is there a way I can override the page's default gold color for specific links on the page? I wish to change one link on the page to black, but Dreamweaver continues to make it gold.

Fyi. I'm learning Dreamweaver MX 2004 from "Beginning Dreamweaver MX 2004" by Wrox, authors: Brown, Spaanjaars, Marks.

Thank.

Reply With Quote
  #2 (permalink)  
Old February 24th, 2005, 04:29 PM
Imar's Avatar
Wrox Author
Points: 72,038, Level: 100
Points: 72,038, Level: 100 Points: 72,038, Level: 100 Points: 72,038, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,080
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Great book choice... ;)

You can override the style of the link in at least two ways:

1. Create a separate class like MyLink and apply it to the link:

<style type="text/css">
.MyLink
{
  color: #000000;
}
</style>

...

<a href="somewhere" class="MyLink">Some text</a>


2. Use an in-line style:

<a href="somewhere" style="color: #000000;">Some text</a>


HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #3 (permalink)  
Old February 24th, 2005, 04:57 PM
Registered User
 
Join Date: Feb 2005
Location: Decatur, Ga, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Imar.
Yes, it is a very good book.

Thanks.


Reply With Quote
  #4 (permalink)  
Old February 24th, 2005, 05:15 PM
Imar's Avatar
Wrox Author
Points: 72,038, Level: 100
Points: 72,038, Level: 100 Points: 72,038, Level: 100 Points: 72,038, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,080
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

It's good to hear you like it....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Page Color darkestangel1980 CSS Cascading Style Sheets 6 February 6th, 2008 12:40 PM
color changing windows casemaker Oracle 0 May 28th, 2006 08:29 PM
Changing color conny Visual C++ 0 April 14th, 2005 07:57 PM
Need help changing color on text, please larry Javascript How-To 1 December 23rd, 2003 10:24 PM
Changing Text Box Background Color rodmcleay Javascript How-To 9 December 11th, 2003 05:07 AM



All times are GMT -4. The time now is 05:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.