dreamweaver problem

  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

I'm at work and I was asked to design an email blast. The only version of dreamweaver they have here is version 3, I'd do it at home but I don't get paid for that. When I set up the page properties I initialy assigned the links to be blue, they decided to change the color scheme to red. When I changed the link colors in the page properties to red the links changed to red on the .asp but not when I publish the .htm. Any clue why the links are not changing in the .htm??

thanks
ryan
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • emitind.
  • Student
  • Student
  • User avatar
  • Posts: 92
  • Loc: england

Post 3+ Months Ago

can't you do it via codeview?
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

I'm not that great with html, but when I looked at the code I wasn't sure where the color assignment for the links was located.
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

ok I've found the code for some reason I have two colors assigned for my links. I guess I'll just play around with it

thanks[/code]
  • fional24
  • Graduate
  • Graduate
  • fional24
  • Posts: 125
  • Loc: Scotland

Post 3+ Months Ago

you could always download a trial version of the newest version and use it to get this task done. Once they see the great job you make of it, it might convince them to buy you the full version!
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

this is an in house freelance gig. I brought in my copy of MX 2004 in case I get absolutly frustrated with 3, but I don't know how cool they are about me doing that (corporate stuff) anyway I've changed the code to the red I want but it still insits on reverting back to this abnoxious purple/blue color. this may be a lost cause. here is the begining of the code before I made the change, #CC0033 is the color I want. One link out of 5 or 6 is behaving correctly.

Code: [ Select ]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#000000" link="#CC0033" alink="#660000">
<div align="center">
 <table width="56%" border="0" height="1000" bgcolor="#FFFFFF">
  <tr valign="top">
   <td height="1575">
    <table width="100%" border="0">
     <tr bgcolor="#993366" valign="middle">
      <td height="101">
  1. <html>
  2. <head>
  3. <title>Untitled Document</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body bgcolor="#000000" link="#CC0033" alink="#660000">
  7. <div align="center">
  8.  <table width="56%" border="0" height="1000" bgcolor="#FFFFFF">
  9.   <tr valign="top">
  10.    <td height="1575">
  11.     <table width="100%" border="0">
  12.      <tr bgcolor="#993366" valign="middle">
  13.       <td height="101">
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

take out all code that makes it red now, and put in:

Code: [ Select ]
<style>
a, a:visited{color:#CC0033;}

a{hover:#FF0000;}
</style>
  1. <style>
  2. a, a:visited{color:#CC0033;}
  3. a{hover:#FF0000;}
  4. </style>


Put it in your head tag. If you don't want a hover color, or if you want a different hover color, remove or edit the second css line accordingly.
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

I fixed the problem. But I don't understand why it behaves the way it does. this first code behaves correctly:
Code: [ Select ]
<a href="http://www.address.com%20">www.address.com
          </a></font>
  1. <a href="http://www.address.com%20">www.address.com
  2.           </a></font>


this one does not:
Code: [ Select ]
<a href="http://www.address.com">www.address.com</a><br>
        </font>
  1. <a href="http://www.address.com">www.address.com</a><br>
  2.         </font>


what does the 20% mean ? Without the 20% the links appear as this purple color that is listed no where in the code and with it it behaves properly.

thanks for everyones help
ryan
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

The purple is a visited link

The %20 is the code for a space (I think). A space on the end of the url will go to the same place but will look like a different url, that you have not visited yet. That is why it has gone back to blue. If you click on the link then the link will go to purple next time you visit.

My code will solve the problem. I promise :wink:
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

everything cool now, I was just currious as to what that code was. I really appreciate your help. Because of you guys people at work think I'm a lot smarter than I really am :D .

Thanks everyone
ryan
  • jtrageser
  • Beginner
  • Beginner
  • User avatar
  • Posts: 38
  • Loc: server23.com

Post 3+ Months Ago

adidas1200 wrote:
everything cool now, I was just currious as to what that code was. I really appreciate your help. Because of you guys people at work think I'm a lot smarter than I really am :D .

Thanks everyone
ryan


LOL, Is that how you got your job? From hanging out on here and getting help?
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

It's css (cascading stylesheets). Possibly the greatest thing since sliced bread - actually sliced bread kinda sucks, they never slice it thick enough.

But anyway, it gives you precise control over evergthing on the page, from colours, positions and sizes right down to things like the number of pixcels between each letter of a word. It also has the ability to be contained in a separate file so that the entire layout and aesthetic of the site is controlled from a single file.

In theory everyone should be ditching tables for layouts and using CSS <b>BUT THEY DON'T</b>

I love stylesheets :D
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

No i didn't get the job because of these forums, I live behind my computer (you can tell by my lack of a tan). It's these little problems that seem to always come up that these forums really help out. there is always someone out there that has the answer.

I need to get back into dreamweaver I've been relying too heavily on flash (due to motion art, fun stuff)
  • fional24
  • Graduate
  • Graduate
  • fional24
  • Posts: 125
  • Loc: Scotland

Post 3+ Months Ago

Quote:
I love stylesheets


We would never have guessed! :lol:
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

One more question.......

I used the code you gave me earlier
Code: [ Select ]
<style>
a, a:visited{color:#CC0033;}

a{hover:#FF0000;}
</style>
  1. <style>
  2. a, a:visited{color:#CC0033;}
  3. a{hover:#FF0000;}
  4. </style>

but is there a way to make just one of the links a different color (white FFFFFF) while the other ones remain the same
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

Code: [ Select ]
<a class="whitelink" href="blahblahblah">blah</a>


then in the style tag ADD:

Code: [ Select ]
a.whitetag, a.whitetag:visited{color:#FFFFFF;}

a.whitetag:hover{color:#9999ff;}
  1. a.whitetag, a.whitetag:visited{color:#FFFFFF;}
  2. a.whitetag:hover{color:#9999ff;}


Make the hover color white if you dont want a different hover color. If you want the white link to hover the same color as the other links, then just remove the hover color, it will default back to the one you already have.

I have used class="whitelink" because this means you can have as many as you want that follow these rules.
  • adidas1200
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: chicago

Post 3+ Months Ago

works perfect...........thanks again

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 70 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.