Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 07-24-2007, 10:32 PM   #1 (permalink)
Contributing Member
 
Join Date: 10-13-03
Posts: 131
iTrader: 0 / 0%
Latest Blog:
None

ParLawGod is liked by many
Dreamweaver MX Question - Link Color

Hi - I have a question regarding Dreamweaver MX. My website - http://www.jeremiaheis.com/ - has all white links (I think it's because that's what the CSS template calls for) so whenever I try to make NON-WHITE links in the right table of my website it shows up white!

Is there any way to override this so I can use non-white links??? This is driving me crazy!

Thanks!

ParLawGod is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-25-2007, 04:27 AM   #2 (permalink)
Inactive
 
Join Date: 07-02-07
Posts: 168
iTrader: 0 / 0%
webprofession is liked by many
You gave white color to <a> tag in CSS
and you want the link with non-white color in somewhere on page,
right?

So, use this
<a href=...><font color=othecolor>Link</font></a>
insead of
<font color=othecolor><a href=...>Link</a></font>

Check your code.
This might be a solution of your problem.
webprofession is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-25-2007, 09:59 PM   #3 (permalink)
Contributing Member
 
Join Date: 10-13-03
Posts: 131
iTrader: 0 / 0%
Latest Blog:
None

ParLawGod is liked by many
Hi - I honestly have no idea how to do that edit so I can have two different color links (I'm not that advanced). Any way to remove that from the CSS so I can just use whatever color whenever I want?
ParLawGod is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-26-2007, 04:52 PM   #4 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
The CSS:
Quote:
A.ColorLink:link {
color: #FFA500; /* Orange */
}
A.ColorLink:visited {
color: #003300; /* Green */
}
A.ColorLink:hover {
color: #FF0000; /* Red */
}
The HTML:
Code:
<body> <a class="ColorLink" href="#">Your new link here</a> </body>
hope this make sense to you
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-30-2007, 03:02 PM   #5 (permalink)
v7n Mentor
 
thegamerslink's Avatar
 
Join Date: 07-27-07
Location: Georgia
Posts: 1,290
iTrader: 0 / 0%
thegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to beholdthegamerslink is a splendid one to behold
Send a message via ICQ to thegamerslink Send a message via AIM to thegamerslink Send a message via MSN to thegamerslink Send a message via Yahoo to thegamerslink
Highlight one of the links, then right click the mouse on top of the link.......you should see a selection for CSS Styles in the list.....Mouse over that, another side menu comes up, go down to new css style.......That will cause a box to pop up, the first space in the box is the selector so for regular links you would choose a:link you then can at the bottom decide whether it's changed in the imported css file or just on that page, choose according to your desire, click ok, and you will have all the different selections for you to make, including color. I think I'm right on this........
__________________
http://www.thegamerslink.com
Over 3400+ FREE games that you can play, share, and bookmark Free!
www.pc-factor.com
Free Video News & Links and Articles Directory
thegamerslink is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-31-2007, 03:14 AM   #6 (permalink)
Contributing Member
 
Join Date: 10-13-03
Posts: 131
iTrader: 0 / 0%
Latest Blog:
None

ParLawGod is liked by many
Quote:
Highlight one of the links, then right click the mouse on top of the link.......you should see a selection for CSS Styles in the list.....Mouse over that, another side menu comes up, go down to new css style.......That will cause a box to pop up, the first space in the box is the selector so for regular links you would choose a:link you then can at the bottom decide whether it's changed in the imported css file or just on that page, choose according to your desire, click ok, and you will have all the different selections for you to make, including color. I think I'm right on this........
Unfortunately I couldn't get that to work...

I seem to be in a pickle here - whatever I seem to do doesn't work...I think I have reached the limit of my limited abilities...
ParLawGod is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-31-2007, 03:40 AM   #7 (permalink)
Contributing Member
 
Join Date: 10-13-03
Posts: 131
iTrader: 0 / 0%
Latest Blog:
None

ParLawGod is liked by many
Well, what I was finally able to do (after re-reading this post several times, doing searches online, and dabbling with Dreamweaver and WordPad) I just ended up re-writing the .CSS (never did that before, learned quite a bit by trial and error I'm happy to say) and I just took the link color completely out of the .CSS (which I wasn't able to do before because I couldn't figure it out). I got it working on my computer very nicely. I'll be sure to repost once I am able to get the different color links throughout my site and get it online.

Thanks for your help everyone - it is greatly appreciated!
ParLawGod is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-01-2007, 04:26 PM   #8 (permalink)
Contributing Member
 
Join Date: 10-13-03
Posts: 131
iTrader: 0 / 0%
Latest Blog:
None

ParLawGod is liked by many
My site is updated and the new link colors work - feel free to check it out (feedback is always appreciated).

Thanks!
ParLawGod is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-01-2007, 08:57 PM   #9 (permalink)
Inactive
 
Join Date: 08-01-07
Location: Philadelphia, PA
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

Jrw2868 is liked by many
I'm having the same problem

Hey everyone,

I've been lurking for a bit and got the inspiration to join based on this post. I'm having the same problem as ParLawGod is having: most of my site has blue links, but there's one section I want to have white links.

The weird thing is this: I somehow got my links to be white (NO idea how I did this) but when I preview the site in browsers, the underline that pops up beneath the white links when my mouse hovers is blue--just like the blue links.

I figure it has something to do with the CSS code, but I can't figure what. So what I'm gonna do is just post my CSS code here. I think the relevant area is the h1 and the h2. If some awesome, phenomenal saint of a person could give me some idea of what code to put in and where to put it, I would love them forever. In a purely platonic sense, of course.

Thank you!!!
--Jen

* {
margin: 0;
padding: 0;
}

body {
background: #333 url("images/back.gif") repeat;
text-align: center;
font: normal 11px/18px verdana, arial, tahoma, sans-serif;
color: #333;
padding-top: 40px;
}

a {
color: #666;
text-decoration: none;
}

a:visited {
text-decoration: underline;
}

a:hover {
color: #ccc;
}

#header {
width: 580px;
height: 210px;
background: #000 url("images/PhillySkyline.jpg") no-repeat;
background-position: top right;
}

#wrapper {
width: 580px;
background: #fff url("images/sidebar.gif") repeat-y;
background-position: 0 0;
border: solid 10px #fff;
margin: 0 auto;
text-align: left;
}

h1 {
width: 140px;
height: 30px;
background-color: #333;
margin: 1px 1px 1px 0;
float: left;
font: bold 16px/30px arial, verdana, tahoma, sans-serif;
padding-left: 10px;
color: #fff;
cursor: default;
}

h1:first-letter {
color: #f00;
text-decoration: underline;
}

h2 {
width: 419px;
height: 30px;
background-color: #333;
float: left;
font: 16px/30px arial, verdana, tahoma, sans-serif;
padding-left: 10px;
color: #fff;
margin-top: 1px;
cursor: default;
}


#nav {
list-style: none;
z-index: 2;
border-right: 1px solid #fff;
height: 210px;
width: 150px;
}

#nav li a {
color: #fff;
font: normal 11px/24px verdana, arial, tahoma, sans-serif;
display: block;
width: 140px;
height: 24px;
background-color: #000;
border-bottom: 1px solid #fff;
padding-left: 10px;
text-decoration: none;
}

#nav li a:hover {
background-color: #333;
}

#current a {
background-image: url("images/bullet.gif");
background-repeat: no-repeat;
background-position: 100% 50%;
}

#sidebar {
width: 132px;
background-color: #ccc;
float: left;
position: relative;
left: -4px;
margin-left: -147px;
border-top: 1px solid #fff;
font: normal 10px/18px verdana, arial, tahoma, sans-serif;
padding: 8px;
}

img {
border: none;
}

a img {
margin-bottom: 20px;
border: 1px solid #fff;
}

a:hover img {
border-color: #f00;
}

#content {
float: left;
width: 400px;
margin: 10px 0 0 10px;
}

p {
margin-bottom: 20px;
}

#footer {
text-align: center;
clear: both;
width: 400px;
margin-left: 163px;
}
Jrw2868 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-02-2007, 03:50 AM   #10 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
I've been explaining how to set up a link to have different colors a few posts above you change link color.

All you have to do is change it accordingly to your color palette.

Note:
Even if I have in a page something like:
UL LI A:link {.......}
I would still define a class for my links:
UL LI A.NewLink:link {.......}

That's because sometimes, depending on the browser used to display the web page your links definition gets messed up...(don't ask me why )


hope this helps you
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-03-2007, 07:24 PM   #11 (permalink)
Moderator
 
ToddW's Avatar
 
Join Date: 01-11-04
Location: Folsom
Posts: 2,646
iTrader: 0 / 0%
ToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest order
Send a message via AIM to ToddW
Quote:
Originally Posted by Costin Trifan View Post
I've been explaining how to set up a link to have different colors a few posts above you change link color.

All you have to do is change it accordingly to your color palette.

Note:
Even if I have in a page something like:
UL LI A:link {.......}
I would still define a class for my links:
UL LI A.NewLink:link {.......}

That's because sometimes, depending on the browser used to display the web page your links definition gets messed up...(don't ask me why )


hope this helps you
FF and IE display this stuff differently, and FF and IE display CSS differently even too!!! It's insane.
__________________
Learn about Bear Grylls, Les Stroud, Man Vs. Wild & SurvivorMan at Survival TV Shows
Order Exciting Inspirational Posters from Inspirational Posters at great value.
ToddW is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-03-2007, 09:39 PM   #12 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
Quote:
FF and IE display this stuff differently, and FF and IE display CSS differently even too!!! It's insane.
I fully agree with you Try to design a website to display correctly in IE, FF and Opera ---> uuggghhh... this is crazy!!

but:
Quote:
A.NewLink:link {
color: Red;
text-decoration: none;
}

A.NewLink:visited {
color: Blue;
text-decoration: none;
}

A.NewLink:hover {
color: Green;
text-decoration: underline;
}
all browsers wil display this correctly. I've tested it so many times...
When this A:link and so on... is used more than once in a webpage, in that form, there's more chances to get your code messed up... that's why I define classes for all the links I have if I need to decorate different some of them...
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Color Links in Dreamweaver. lajones3 Web Design Lobby 1 10-12-2006 06:17 PM
Dreamweaver - cant link flash menu to target frames! sebpetch Coding Forum 0 09-15-2006 04:14 PM
adsense link color funguru Contextual Networks 8 08-22-2006 03:47 PM
How to with Dreamweaver/database Question? Buskerdoo Coding Forum 3 05-15-2005 08:14 PM
Question about Dreamweaver... BKSarah Web Design Lobby 2 01-05-2005 08:34 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:28 AM.
© Copyright 2008 V7 Inc