If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Dec 2008
    Member #
    1 times
    Ok, this is driving me nuts.

    HTML Code:
      <div id="myDiv" class="singleContent">
      <div class="roundTop"><img src="../images/wrapper/tl.gif" class="corner" alt=""/></div>
      <div class="innerWrap">
       <h2>123 Quick Check</h2>
                <form id="myForm" method="post" action="">
                  <span id="sprytextfield1">
                    <label>123 Number *</label>
                     <input type="text" class="txtBox" name="123Number" id="123Number" />
                    <span class="textfieldRequiredMsg"></span></span>
                  <span id="sprytextfield2">
                    <label>Last Name *</label>
                     <input type="text" class="txtBox" name="lastName" id="lastName" />
                    <span class="textfieldRequiredMsg"></span></span>
                     <input name="submit" type="submit" class="btn" value="Quick Check"/>
      <div class="roundBot"><img src="../images/wrapper/bl.gif" class="corner" alt=""/></div>
    and my css

    fieldset {margin: 2px auto 0px;border: 0;}
    display: block;
    float: left;
    text-align: left;
    width: 10em;
    color: #494949;
    text-indent: 2px;
    #myForm .txtBox{width: 30%;}
    #myForm label{font-size: 10px;
    .singleContent {
    background-color: #FFF;
    text-align: left;
    margin-bottom: 5px;

    margin-top: -5px;
    float: left;
    width: 46%;
    background-image: url(../images/logos/logo-123.gif); /*dimensions are 120x49*/
    background-repeat: no-repeat;
    background-position: 99% center;

    ive made this generic, for confidientality reasons

    My problem is I can get the textboxes to look good in a 1280x800, when i switch to 1024x768, theyre too i reduce the % width of hte textbox, then theyre fine, but when i go to 1280x800 theres a lot of whitespace....

    im using jquery/javascript to apply a fix
    $("#myForm input[type=text]").css("width", "45%");

    but this is extremely messy/bad

    There are 2 files attached, the big black box shows the size of the image
    and you will notice the difference in spacing between the two
    why am i getting such differences in the textboxes
    Attached Images Attached Images


  3. #2
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Destin Florida
    Member #
    4 times
    hey are you still working on this. if so let me know. im realy good with CSS and HTML.

    while($get_it !== true){ continue; }

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 07:28 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: