SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    a form within my footer.

    Hi all

    first of all, all apologies for the php portions of the below code. That's why I don't post my code as a viewable .html page. But don't worry, it is an easy problem to spot, and probably wasy to solve.


    I have a footer which was looking quite nice.

    I have added a dropdown list to switch languages.

    Now guess what... the form appears above the other links, thus ruining my layout.

    Take a look at this:
    Code:
    <p class="pFooter">
    
    <!-- ************************* start languages ************************* -->
    
    <form>
    View page in: 
    <select id="gowhere" onchange="go()">
    <option selected="selected">select language</option>
    <option value="<?php echo($url_language . 'l=fr'); ?>">
          <?php
    		 
             $formatText->workOnText('Franšais');
    		 echo ( $formatText->getConvertedText() );
    		  
    	  ?>
    </option>
    <option value="<?php echo($url_language . 'l=en'); ?>">
          <?php
    		 
             $formatText->workOnText('English');
    		 echo ( $formatText->getConvertedText() );
    		  
    	  ?>
    </option>
    </select>
    </form>
    
    <!-- ************************* end languages ************************* -->
    
    <a class="footerLink" href="mailto:info@" accesskey="p">Contact Us</a> - 
    <a class="footerLink" href="<?php echo($url . 'privacypolicy.php'); ?>" accesskey="p">Privacy Policy Statement</a> - 
    <a class="footerLink" href="<?php echo($url . 'accesskeys.php'); ?>" accesskey="k">Accesskey Details</a> - 
    <a class="footerLink" href="#top" accesskey="t">Top</a> - 
    <a class="footerLink" href="<?php echo($url); ?>" accesskey="h">Home</a>
    </p>
    <p class="pFooter">
    The contents of this webpage are copyright &copy blah blah All Rights Reserved.
    </p>
    Is there a way to tell the form not to break lines?

    thanks in advance for your help

  2. #2
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    In css try

    Code:
    form {display: inline;}
    Or you could just give the form a width and float it.

  3. #3
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    inline did the trick.

    yeah!


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
  •