Quantcast

Maximum PC

It is currently Wed Apr 23, 2014 1:41 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: 2 link colors?
PostPosted: Sun Jun 27, 2004 6:24 pm 
Thunderbird
Thunderbird

Joined: Sun Jun 27, 2004 6:22 pm
Posts: 974
I'm using Dreamweaver MX 2004 in creating HTML. Is there a way to have 2 different link colors on a page? I want yellow as the link color on the gray navigation bar on the right. But I want the links to be blue in the white area to the left. Is this possible? Perhaps through some CSS setting? Thanks.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>xxxx</title>
<style type="text/css">
<!--
body {
background-color: #666666;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style4 {
font-family: Arial, Helvetica, sans-serif;
font-size: small;
}
.style5 {font-family: Arial, Helvetica, sans-serif; font-size: large; }
a:link {
color: #ffe047;
}
a:visited {
color: #ffe047;
}
.style40 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body>
<div align="center">
<table width="640" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="438" valign="top"><table width="438" border="0" cellspacing="0">
<tr>
<td><div align="left">


<table width="417" border="0" cellspacing="0">
<tr>
<td><span class="style5"> XX</span> <div align="right" class="style4"></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td><hr align="left" width="417" size="1"></td>
</tr>
</table>
<table width="438" border="0" cellpadding="20" cellspacing="0">
<tr>
<td><div align="justify">
<p class="style4">These online forums are for user-to-user discussions of Macromedia products, and are not an official customer support channel for Macromedia.
<ul class="style4">
<div align="left">These online forums are for user-to-user discussions of Macromedia products, and are not an official customer support channel for Macromedia. </div>


These online forums are for user-to-user discussions of Macromedia products, and are not an official customer support channel for Macromedia.


</div> </td>
</tr>
</table>
<table width="438" border="0" cellspacing="0">
<tr>
<td><div align="left">
<table width="417" border="0" cellspacing="0">
<tr>
<td><span class="style5"> XXXX</span>
<div align="right" class="style4"></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td><hr align="left" width="417" size="1"></td>
</tr>
</table>
<table width="438" border="0" cellpadding="20" cellspacing="0">
<tr>
<td><div align="justify">
<p class="style4">These online forums are for user-to-user discussions of Macromedia products, and are not an official customer support channel for Macromedia.
</div>
<div align="left">


<li class="style4"> These online forums are for user-to-user discussions of Macromedia products, and
are not an official customer support channel for Macromedia.
<li class="style4">These online forums are for user-to-user discussions of Macromedia products, and are not an official customer support channel for Macromedia.


</div></td>
</tr>
</table></td>
<td><img src="mid-line.gif" width="2" height="2"></td>
<td width="200" valign="top" bgcolor="#999999"><div align="center">
<p class="style40">LINK
<p class="style40">LINK
<span class="style40">LINK</span>
</div></td>
</tr>
</table></td>
</tr>
</table>
<div align="left"></div>
<table width="640" border="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
</div>
</body>
</html>


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jun 28, 2004 3:44 am 
Team Member
Team Member
User avatar

Joined: Mon Jun 28, 2004 12:56 am
Posts: 1076
Location: Powder Springs, GA
crappy way to do it is just to put a font color tag inside the href tag. example:
Code:
<a href="URL"><font color="#0000FF">LINK TEXT</font></a>

dont know if that's what ur lookin for, but it's an easy way to do it, altho not the greatest.


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jun 28, 2004 12:39 pm 
Monkey Federation (Top 10)*
Monkey Federation (Top 10)*
User avatar

Joined: Thu Jun 24, 2004 1:22 pm
Posts: 27346
Location: In a cage, dumbass.
XHAOS wrote:
crappy way to do it is just to put a font color tag inside the href tag. example:
Code:
<a href="URL"><font color="#0000FF">LINK TEXT</font></a>

dont know if that's what ur lookin for, but it's an easy way to do it, altho not the greatest.


That is exactly what I was going to say sort of.

Just split up the link where the color changes, and make both links direct to the same location. Without a spacer <br>, they will run together and no one will be the wizer.

Except the three of us.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Jul 02, 2004 12:43 am 
Bitchin' Fast 3D Z8000*
Bitchin' Fast 3D Z8000*
User avatar

Joined: Tue Jun 29, 2004 11:32 pm
Posts: 2555
Location: Somewhere between compilation and linking
XHAOS wrote:
crappy way to do it is just to put a font color tag inside the href tag. example:
Code:
<a href="URL"><font color="#0000FF">LINK TEXT</font></a>

dont know if that's what ur lookin for, but it's an easy way to do it, altho not the greatest.


That's a really crappy way to do it. :wink:


Top
  Profile  
 
 Post subject: Re: 2 link colors?
PostPosted: Fri Jul 02, 2004 12:44 am 
Bitchin' Fast 3D Z8000*
Bitchin' Fast 3D Z8000*
User avatar

Joined: Tue Jun 29, 2004 11:32 pm
Posts: 2555
Location: Somewhere between compilation and linking
TsunamiZ wrote:
I'm using Dreamweaver MX 2004 in creating HTML. Is there a way to have 2 different link colors on a page? I want yellow as the link color on the gray navigation bar on the right. But I want the links to be blue in the white area to the left. Is this possible? Perhaps through some CSS setting? Thanks.


Yes, you should change the link colors in the style sheet.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Jul 02, 2004 12:49 am 
Thunderbird
Thunderbird

Joined: Sun Jun 27, 2004 6:22 pm
Posts: 974
I got some help form someone for doing it via CSS. Thanks though!


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group