|
|
Welcome to our Graphic Design Forums! Your Design Forums has active graphic design forums where community members discuss graphic design related topics.
|
|
|
|
|||||||
![]() |
|
Thread Tools | Display Modes |
|
|
#1 |
|
Designer
Join Date: Jan 2008
Posts: 49
|
Sorry, I didn't know where to post this. Feel free to wherever appropriate. :P
I'm currently working on a website using Dreamweaver 8. I've used the Page Properties tool to change the internal style sheet, so as to specify appearance of the hyperlinks in the visited, hover, and active states. However, I need to have a different set of style states for the hyperlinks on the same page, but Dreamweaver does not allow me to change them. Is there a way to specify the different states of the hyperlinks using inline style sheet? http://www.sendspace.com/file/avnbpg If it helps at all, please find in this link, my dreamweaver-made source code and a screenshot of one of the pages on the website. I've added notes in red font to indicate the parts I want to change. Thanks for any help! ![]() |
|
|
|
|
|
#2 | |
|
Intern
Join Date: Jan 2008
Location: Bellingham, WA
Posts: 17
|
Quote:
So what you have now, in actual code, will look something like (just an example): a:link{ color: blue; } This will color all of the links with a class of 'foo' to red (you can set a link's class in the Dreamweaver properites): a.foo:link{ color: red; } If you wanted to make, say, all of the links in your header purple, you can do that without applying a class to each: #header a:link{ color: purple; } Hopefully someone who's more in practice with Dreamweaver can give you more specifics on setting this up in Dreamweaver, but it sounds like maybe some reading on basic CSS principles is in order, even if you decide not to do the code yourself. |
|
|
|
|
|
|
#3 |
|
Bill Bailey for President
Join Date: Jan 2008
Location: London
Posts: 279
|
You could remove the span and class and give the DIV an ID instead. Just select code/design in the view menu in Dreamweaver so you can change the code manually.
So for example: <div id="footer"></div> and then in the CSS you go: #footer a {color:whatever} #footer a:hover {color:whatever} You could also just set all the different font styles using P with different classes. For example: In the html <p class="footer">text</p> In the CSS .footer a {color: whatever} .footer a:hover {color: whatever} Hope that helps. Last edited by Aarlev : 01-10-2008 at 04:56 AM. |
|
|
|
|
|
#4 |
|
Designer
Join Date: Jan 2008
Posts: 49
|
Thanks, I'll try that!
![]() |
|
|
|
|
|
#5 |
|
Designer
Join Date: Jan 2008
Posts: 49
|
It worked! Thanks!!!
![]() |
|
|
|
|
|
#6 |
|
Bill Bailey for President
Join Date: Jan 2008
Location: London
Posts: 279
|
You're welcome!
I'm glad you got it working. Good luck with the site!
__________________
"When was the last time you did something for the first time?" |
|
|
|
|
|
#7 |
|
Designer
|
Umm... What is this?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|