Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    109
    Thanks
    21
    Thanked 0 Times in 0 Posts

    Cool Twitter Bootstrap Question

    Hello. I use Twitter Bootstrap

    On my website I am trying to be able to get my search bar to pull-center up to media @ max-with 767

    currently the search bar is pull-right

    <div class="span4" class="pull-right">
    <div id="search" class="input-prepend input-append pull-center">
    <?php if (isset($search) && $search) { ?>
    <input type="text" name="search" value="<?php echo $search; ?>" class="input-medium search-query" />
    <?php } else { ?>
    <input type="text" name="search" placeholder="<?php echo $text_search; ?>" class="input-medium search-query" />
    <?php } ?>
    <button type="submit" class="btn btn-success" id="btn-search"><?php echo $text_search; ?></button>
    </div><!-- / Search Div -->
    </div>

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,762
    Thanks
    23
    Thanked 548 Times in 547 Posts
    See what
    Code:
    <div class="span4 pull-right">
    does instead of
    Code:
    <div class="span4" class="pull-right">
    Evolution - The non-random survival of random variants.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •