Hello:

I have an implementation of a ListMania horizontal list that is causing me
grief.  In summary:

The menu bar is in a server side include file as follows:
<ul id="navlist">
<!--#if expr="\"$DOCUMENT_URI\" = \"/index.shtml\"" -->
<li id="current"><strong>Home</strong></li>
<!--#else -->
<li><a href="index.shtml">Home</a></li>
<!--#endif -->

... Other menu items here

</ul>

The stylesheet has navlist defined like this:

#navlist
{
        padding: 3px 0;
        margin-left: 0;
        margin-top: 155px;
        margin-left:80px;
        border-bottom: 1px solid #778;
        font: bold 12px Verdana, sans-serif;
}
#navlist li a#current
{
        background: white;

}


#navlist li a
{
        padding: 3px .75em;
        margin-left: 3px;
        border: 1px solid #778;
        border-bottom: none;
        background: #DDE;
        text-decoration: none;
}

The main SHTML file is wrapped in a <DIV class="container"> tag an container
is defined in the stylesheet like this:

div.container
{
        margin-left:0px;
        margin-top: 40px;
        margin-right:475px;
        font-weight:normal;
}

My problem is that all my A links in the body of the pages are inheriting
the style from the #navlist ID.  How do I stop that from happening?  It can
be seen here:

http://www.itgurl.com/Portfolio.shtml.

Thanks!

Debbie Silbert




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to