Different color links

M

Mary Hartman

Is it possible using css in FrontPage to make the links on different
parts of the page a different color or MUST it be universal.

For example:

I am trying to make my menu links in the left column (cell) white.
However, I want the links in the text in the cell in the center of the
page to be black.

Is this possible?

Thank you,

Mary
 
T

Thomas A. Rowe

You can create different CSS class/ids to assign to a group of links

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
M

Mary Hartman

You can create different CSS class/ids to assign to a group of links

This is the URL of the stylesheet I am working with.

I tried defining a table "centerpage" on the page itself and then
including it here, but can't figure where to put the link color code
so that it does not effect the whole page.

Could you give me a clue?

Mary
 
M

Murray

Good grief - there's alot of CSS in that stylesheet! It's MUCH too complex
for this simple page. When I see a stylesheet that is filled with custom
classes, I know that the creator of it has not yet mastered the concept of
the CASCADE (as in CSS).

Also, you'll have much better luck with your page if you remove that doctype
and replace it with one that is both valid and complete. Unfortunately, FP
gets this wrong - it should be this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

rather than just this -

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
(this latter DTD will throw IE into quirks mode instead of the desired
standards mode)

Here is an example from your page -

<table border="0" width="100%" cellspacing="0" cellpadding="1"
class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3"
class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%"
height="1"></td>
</tr>
<tr>
<td class="boxText"><a
href="http://christophersgrinders.com/catalog/index.php?cPath=23"><b>Pizza</b>-&gt;</a>&nbsp;(40)<br>&nbsp;&nbsp;<a
href="http://christophersgrinders.com/catalog/index.php?cPath=23_24">Cheese
Pizza with/without</a>&nbsp;(5)<br>&nbsp;&nbsp;<a
href="http://christophersgrinders.com/catalog/index.php?cPath=23_36">Cheese
Pizza Half and Half</a>&nbsp;(5)<br>&nbsp;&nbsp;<a href=

---------------

If you had these rules -

table.infoBox a { ... }
table.InfoBox a:hover { ... }

then your menu options would be stylable differently than any other links on
your page that were NOT within that table.
 

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