edit multiple hyperlinks

S

samlago

I have two sets of hyperlinks on the same page and I have been using CSS
codes to edit the first set's font, hover actions, etc. Now I want to be able
to edit the second set but don't know how to do it so that the changes will
apply only to this second set and not affect the first one. I have tried
introducing a new HTML code fragment with the new edits but it overrides the
first one and changes the font on the first set of hyperlinks also. Please
help! Thanks.
 
D

David Bartosik

What you are wanting is the use of a css class. With a css class you can do
different things on the same page. Here is a snippet of the css fiel for my
site http://www.barvin.com that shows a couple of classes:

a {color: #000000; font-family: Arial; font-weight: normal; font-size: 12pt;
text-decoration:underline}
..mnu {color: #000080; font-family: Arial; font-weight: normal; font-size:
10pt; text-decoration:none}
..top {color: #000080; font-family: Arial; font-weight: normal; font-size:
10pt}

Now since Publisher is writing it's own css based on your formatting of the
publication I would recommend that you use FrontPage if you are wanting to do
a lot with your own code and css implementations.

If you need more help with CSS and it's use I suggest you reference any CSS
topic web site for that assistance as that would get OT for this forum.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top