saiyajin no gunshou (_tumblweed) wrote in component_help,
saiyajin no gunshou
_tumblweed
component_help

centering the navbar itself

psychme and kunzite1 were incredibly helpful in getting my journal to center, but I can't get the trundicated navbar to center.  Where am I going wrong here?

if (not $*comp_navbar or $*comp_state=="none") {
    """
    < div class="header" align="center" style="text-align:center; width:800px">
    """;
    print "< span class=\"header-item\">< a href=\""+$p.view_url{"recent"}+"\">$*nav_entries_text< /a>< /span>";
    print "< span class=\"header-item\">< a href=\""+$p.view_url{"friends"}+"\">$*nav_friends_text< /a>< /span>";
    print "< span class=\"header-item\">< a href=\""+$p.view_url{"archive"}+"\">$*nav_calendar_text< /a>< /span>";
    print "< span class=\"header-item\">< a href=\""+$p.view_url{"userinfo"}+"\">$*nav_info_text< /a>< /span>";
    #if ($p.journal.website_url != "") {
    #  print "< span class=\"header-item\">< a href=\"$p.journal.website_url\">$p.journal.website_name< /a>< /span>";
  # }
    $p->lay_viewspec_nav();  # prints previous / next links including arrow images
    """       
    < /div>
    """;
  }
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments