Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default postcode input field appears way of to the right

    hi,

    I'm having a really strange problem ... the field postcode rendered in tpl_create_account.php appears completely unaligned to the right ... strange because I checked the stylesheet and input fields have all the same rules ... but postcode doesn't follow them ...


    Here is a code excerpt

    Code:
    <label class="inputLabel" for="postcode"><?php echo ENTRY_POST_CODE; ?></label>
    <?php echo zen_draw_input_field('postcode', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '40') . ' id="postcode"') . (zen_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="alert">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    From there I can see it uses zen_draw_input_field() function, but strangely instead of appear normally the input field is shifted all the way to the right!

    THis is what I mean:
    postcode xxx

    The others:
    city:
    xxx

    Perfectly aligned to the left ...

    why? don't know all the other input fields are properly aligned ...
    and ruled by:
    Code:
    INPUT {
    margin:.3em .5em;
    }
    LABEL.inputLabel {
    width:85%;
    float:left;
    margin:.3em 0;
    }
    plus there are no differences in the php code or anything that might cause this behavior ...

    If anybody has found a solution please let me know ...
    Last edited by icecold; 9 Dec 2008 at 06:43 PM.

 

 

Similar Threads

  1. Make input field on collectinfo also display the field text as hyperlink
    By jpietrowiak in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 Dec 2012, 05:06 AM
  2. How would I move the template all the way to the right and fix an image to the
    By pityocamptes in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 15 Sep 2010, 05:45 AM
  3. Easiest way to change the width on the right an left nav/boxes?
    By ThomasT in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jul 2010, 01:42 AM
  4. what is the right way 1.3.0.1->1.3.8a?
    By eternity575 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 9 Jul 2009, 07:26 PM
  5. Hide Postcode field in shipping Estimator?
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Dec 2007, 10:47 PM

Posting Permissions

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