面包屑文本中间/中心aline

时间:2014-07-02 03:56:37

标签: breadcrumbs

我一直试图在面包屑中查看文本大约两天似乎无法让它工作。

.tickets_1 {
    float: left;
}
.tickets_2 {
    float: right;
    padding-right: 15px;
}
.breadcrumb {
    padding: 2px 0px;
    margin-top: 335px;
    background-color: #2E3739;
    color: #FFF;
    font-size: 12px;
    list-style: none outside none;
    text-transform: capitalize;
}


<div class="breadcrumb">
<div class="container">
<div class="row-fluid">
<div class="span12">
<div class="tickets_1">
<span> <?php echo  $sitetitle ?></span>
</div>
<div class="tickets_2">
<ul>
 <?php

                if ($thisclient && is_object($thisclient) && $thisclient->isValid()) { ?>   

                <li><a href="<?php echo ROOT_PATH; ?>account.php"><span> Hi, <?php echo Format::htmlchars($thisclient->getName());
                 ?></a></li>
                <li><a href="<?php echo ROOT_PATH; ?>tickets.php">Tickets <b>(<?php echo $thisclient->getNumTickets(); ?>)</b></a></li>
                <li><a href="<?php echo $signout_url; ?>">Sign Out</a></li>
            <?php
            } 
            elseif($nav) {
                if ($cfg->getClientRegistrationMode() == 'public') { ?>
                    <?php

                }
                if ($cfg->getClientRegistrationMode() != 'disabled') { ?>
                   <li><a href="<?php echo ROOT_PATH; ?>account.php">register</a></li>
                   <li><a href="<?php echo $signin_url; ?>">Sign In</a></li>
<?php
                }
            } ?>

</ul>
</div>
</div>
</div>
</div>
</div>

我尝试使用text-aline但没有任何帮助

我在左边有家,在右边登录信息

谢谢

0 个答案:

没有答案