Results 1 to 4 of 4

Thread: HTML code for float left ?

Hybrid View

  1. #1

    HTML code for float left ?

    Any one can teach me how to make my add to any button float to right (Home at left and add to any on right) ?

    below is my current code :
    PHP Code:
    <div class="nav">
            <ul>
                <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
                <?php wp_list_pages('title_li'); ?>
                         <?php echo '<ul class="addtoany_list">'; if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') ) ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>""html_wrap_close" => "</li>") ); if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "<li>""html_wrap_close" => "</li>") ); echo '</ul>'?>
            </ul>
        
            <div style="clear:both;"></div>
        </div>
    thanks

  2. #2
    What happens when you float the AddToAny button to the right? i.e.
    PHP Code:
    <div class="nav">
            <ul>
                <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
                <?php wp_list_pages('title_li'); ?>
                         <div style="float:right;"><?php echo '<ul class="addtoany_list">'; if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') ) ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>""html_wrap_close" => "</li>") ); if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "<li>""html_wrap_close" => "</li>") ); echo '</ul>'?></div>
            </ul>
        
            <div style="clear:both;"></div>
        </div>

  3. #3
    Thanks it work ...
    just wonder why previously doesn't work, no hard working enough

  4. #4
    I never try for floating a button ya but i know about text flow with marquee tag. i made button looks like floating with hide and show properties. i mainly work on .net so i have little knowledge about it. i learn so much with this code i will also try this from next time.

Similar Threads

  1. Only count the first backlink in the html code
    By tatetu in forum Promoting
    Replies: 11
    Last Post: 4 February, 2011, 20:44 PM
  2. how to do side float on wp ?
    By SonnyCooL in forum Blogging
    Replies: 4
    Last Post: 19 April, 2010, 07:52 AM
  3. html table code ....
    By SonnyCooL in forum Blogging
    Replies: 0
    Last Post: 2 March, 2010, 20:16 PM
  4. [Free] Win a copy of Left 4 Dead 2
    By texashiker in forum Contests
    Replies: 0
    Last Post: 29 September, 2009, 13:20 PM
  5. [WTS] Charm HTML PSD to HTML service
    By yangyang in forum Services
    Replies: 0
    Last Post: 10 December, 2008, 02:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

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