Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Align and Size Input Boxes

    In my sign up page I have a few questions that I ask.

    I am using the CSS to align (or float) my boxes to the left.

    But some of them will not float.

    Here is the relevant code.

    Will *not* float left...

    Code:
    <tr>
        <td class="plainBox"><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="questions" valign="top"><p><b><?php echo ENTRY_HOWDIDYOUHEAR; ?></b><br></td>
              <td class="questions" valign="top"><br><p><br><?php echo zen_draw_input_field('howdidyouhear') . '&nbsp;' . (zen_not_null(ENTRY_HOWDIDYOUHEAR_TEXT) ? '<span class="inputRequirement">' . ENTRY_HOWDIDYOUHEAR_TEXT . '</span>': ''); ?></td>
          </tr>
    	  	  <tr>
    The howdidyouhear text box for input just will not align to the left. As you can see this is the first question asked. All but one other aligns left just fine.

    Here is the relevant CSS...

    Code:
    }
    TD.questions {
      font-size: 11px;
      line-height: 1.5;
      float: left;
    To see for yourself how it looks go to;
    https://www.freshabundance.com//inde...create_account

    In addition, right before I posted this I looked the page in IE. It looks completely different than it does in Firefox.

    Oh, and how do I make the input boxes larger?

    Jacque
    Last edited by jacque427; 1 Mar 2007 at 03:59 AM.

    Just knowledgeable enough to be dangerous.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Align and Size Input Boxes

    What version of Zen Cart is this???

    Your stylesheet is one from a pre 1.3.x version ad if this is also your version then all of this is contained in table cells.

    If not and you are using this older stylesheet, scrap it and begin with one matched to your version.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Re: Align and Size Input Boxes

    ZC 1.2.6

    I'll try posting an align in the table cell and will repost here.

    Jacque

    Just knowledgeable enough to be dangerous.

  4. #4
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Re: Align and Size Input Boxes

    Ok, tried <td class="main" valign="top" align="left"> and it didn't work.


    Jacque

    Just knowledgeable enough to be dangerous.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Align and Size Input Boxes

    As I recall, you willhave to rearrange the tables in the appropriate file and I think that this is create_account something??
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Re: Align and Size Input Boxes

    After giving myself fits and literally losing sleep the answer was as simple as removing the 2nd table cell within the row.

    But...How do I make the input box larger?

    Just knowledgeable enough to be dangerous.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Align and Size Input Boxes

    But...How do I make the input box larger?
    Don't know what "Input Box" you refer to but if for a value that is in the DB these are auto sized based upon the "var" size in the db for this value...So increase the "var" in the DB table/record for it
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Re: Align and Size Input Boxes

    I'm referring to the box the customer inputs the data into. The visable one.

    I've got the database all set up so that it takes the correct amount of characters, just want to make the customer visable portion larger.

    Just knowledgeable enough to be dangerous.

 

 

Similar Threads

  1. Contact us page - input fields how to align?
    By ekele in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Jan 2011, 01:25 PM
  2. Problem with size of boxes and font within boxes on index page
    By Leacat in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2010, 07:11 AM
  3. How to Align and resize input boxes?
    By kcb410 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 3 Aug 2009, 07:24 PM
  4. Replies: 0
    Last Post: 9 Feb 2009, 03:12 PM
  5. Increase Size of Input Boxes
    By jacque427 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Mar 2007, 09: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