How get colored fonts?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
   This gives all black no matter what.
   Would, at selected pages,like to change color of a menu item.

                       ** HTML snippet **
     <h1><a href="index.html"><img src="images/O4LlogoT.png"
   <div class="main-menu">
    <div class="m1 current"><a href="index.html">Main</a>          </div>
    <div class="m2"><a href="index-1.html">About</a>       </div>
    <div class="m3"><a href="index-2.html">Data Sheets</a> </div>
    <div class="m4"><a href="index-3.html">Products</a>    </div>
    <div class="m5"><a href="index-4.html">Contacts</a>    </div>
                       **  first part of CSS file  **
a:hover{text-decoration: underline;}
img{ max-width:100%; height:auto;}
/*  Header styles      seems useless, has no effect
h1,h2,h3,h4,h5,h6{font-family: 'Casmira';font-weight:normal;}
h1{font-size:50px; }
h3{ font-size:30px; color:#000; padding-bottom:26px;}
h4{ font-size:26px; color:#000;}      */
/* Global Structure---------------------------------------- */
.bg1{ width:100%; background:#fff;}
.bg2{ width:100%; background:#fff; height:96px; margin:48px 0 28px 0;}
main-menu                                    /*
colors do not work always black */
.m1{ position:absolute; top:100px; left:150px; font:24px Helvetica,
sans-serif; color:#fff;}
.m2{ position:absolute; top:100px; left:220px; font:24px Helvetica,
sans-serif; color:#000;}
.m3{ position:absolute; top:100px; left:310px; font:24px Helvetica,
sans-serif; color:#ffffff;}
.m4{ position:absolute; top:100px; left:460px; font:24px Helvetica,
sans-serif; color:#000000;}
.m5{ position:absolute; top:100px; left:570px; font:24px Helvetica,
sans-serif; color:#000;}
   .current{ color:#f0f;}       /* cannot work ; would like to change
color /*
/********************** Content ************************/

Re: How get colored fonts?

On 2012-08-30, Robert Baer wrote:
Quoted text here. Click to load it

   You have made all links black.

Chris F.A. Johnson

Re: How get colored fonts?

Chris F.A. Johnson wrote:
Quoted text here. Click to load it

Site Timeline