style sheets

Brad Anderson brad at dsource.org
Sun Jun 4 14:41:34 PDT 2006


Walter Bright wrote:
> I took out the:
> 
>     height=0;
> 
> lines in www.digitalmars.com/d/style.css, so it works in mozilla, but
> now it doesn't look right in Explorer (excessive vertical spacing).
> Also, the tabs on the upper right are one pixel too low in mozilla.
> 
> Anyone know how to write a style sheet that will work in both?

div#navigation ul
{
        list-style-type: none;
        margin-top: 0px;
        margin-left: 1ex;
        margin-right: 1ex;
        margin-bottom: 1ex;
        padding: 0;
}
div#navigation li
{
        padding-left: 0;
        padding-bottom: 3px;
}
div#navigation a
{
        text-decoration: none;
        padding: 3px;
        background-color: #eeeeee;
        color: black;
}
div#navigation a:hover
{
        background-color: #dddddd;
}




More information about the Digitalmars-d-announce mailing list