WordPress.org

Ready to get started?Download WordPress

Forums

alignment of the navcontainer (2 posts)

  1. Questin
    Member
    Posted 9 years ago #

    Hallo
    I put an horizontal navigation menu taken from Listamatic to add to my kubrick template, just inside the header container. This is the result http://tonyz.altervista.org/prova.php
    My question is what is the best way to align this menu with the bottom of the header container?
    Thanks
    Tonyz

  2. NuclearMoose
    Member
    Posted 9 years ago #

    Change this:

    ul#navlist
    {
    white-space: nowrap;
    text-align: center;
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    }

    to this:

    ul#navlist
    {
    white-space: nowrap;
    text-align: center;
    margin: 76px 0 0 0;
    padding-top: 0;
    padding-bottom: 0;
    }

    Notice also that I removed 'px' from the zero values...it's not needed when you define a unit as zero. It just adds weight to your CSS file.
    This worked for me on Firefox 1.0. Individual results may vary. This put the TOP of the horizontal nav against the BOTTOM of the header image. Adjust the margin value as desired to change this or add a small gap, etc..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.