WordPress.org

Ready to get started?Download WordPress

Forums

Indent on tag list CSS???? (1 post)

  1. michaeldavidclements
    Member
    Posted 5 years ago #

    hi i'm trying to figure out why on my sidebar (located at the bottom) causes indentation on the tags list. Am I using the wrong code somewhere?
    url. http://michaelclements.co.uk

    sidebar code.
    <div id="sidebar-container">
    <div id="sidebar">

    <div class="sidecol1">

    • <h2><?php _e('Sections'); ?></h2>
      • /">Home
      • <?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0'); ?>

    • <h2><?php _e('Archives'); ?></h2>
        <?php wp_get_archives('type=monthly'); ?>

    </div>

    <div class="sidecol2">

    • <h2><?php _e('Tags'); ?></h2>
        <?php wp_tag_cloud('smallest=8px&largest=8px&format=list&unit=pt&number=20'); ?>

    </div>

    <div class="sidecol3">

    • <h2><?php _e('Contact'); ?></h2>
        <li class="bulletless">
      • <script language="javascript">
        <!--
        /* Munged addy code - YOU CAN EDIT COMMENT THIS TAG BETWEEN THE TWO STARS */
        /* SAYS "Rates and Enquiries" */
        MyVaWdiVlNMfmyI();
        /* Munged addy code - YOU CAN EDIT COMMENT THIS TAG BETWEEN THE TWO STARS */
        //-->
        </script>

    • <h2><?php _e('Subscribe'); ?></h2>
    • <h2><?php _e('Links'); ?></h2>
        <?php wp_list_bookmarks( 'title_li=&categorize=0' ); ?>

    </div>

    </div>
    </div>

    sidebar css code.
    #sidebar-container{
    float: left;
    width: 100%;
    padding: 0 0 40px;
    text-align: left;
    vertical-align: top;
    background: #1f1f1f;
    color: #FFF;
    clear: both;
    }

    .sidecol1, .sidecol2, .sidecol3{
    width: 150px;
    float: left;
    }

    .sidecol2, .sidecol3{
    margin-left: 0px;
    }

    #sidebar a{
    color: #3399FF;
    text-decoration: none;
    }

    #sidebar ul{
    list-style-type:none; padding:0; margin:0;
    padding:0; margin:0;
    list-style: none;
    }

    #sidebar ul li{
    padding: 30px 0 0;

    }

    #sidebar ul li h2{
    text-transform: uppercase;
    padding: 0 0 0px;
    border-bottom: 0px solid #242424;
    }

    #sidebar ul ul{
    padding: 3px 0 0;
    }

    #sidebar ul ul li{
    padding: 0 0 0 0px;
    }

    #sidebar ul ul li.bulletless{
    padding: 0;
    background: none;
    }

    #sidebar ul ul li.bulletless form{
    padding: 10px 0 0;
    }

    #sidebar ul ul ul{
    padding: 0;
    }

    #sidebar ul ul ul li{
    padding: 0 0 0 10px;
    background: none;
    }

    Many thanks in advance. M

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by michaeldavidclements
  • This topic is not resolved
  • WordPress version: 2.8