Register

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 5 of 5
  1. #1
    Member
    Join Date
    Feb 2005
    Location
    Portland, Oregon
    Posts
    93
    Member #
    8959
    hello. i am wondering if you can delete unwanted space by adding css in that area? i have tried something like margin-top: -40px, it did not work. i have also tried overflow:hidden.

    im getting some odd space in IE by 'nothing' and need to get rid of this space somehow.

    thanks

  2.  

  3. #2
    Member
    Join Date
    Dec 2005
    Posts
    92
    Member #
    12042
    have you got a link. i might be able to help if i can see what you are talking about

  4. #3
    Member
    Join Date
    Feb 2005
    Location
    Portland, Oregon
    Posts
    93
    Member #
    8959
    Here is what I have full in the HTML following templates---- there is space between input name (line 9) and table (line 10) that does not exist at all. Header templates work for other parts of html just fine except for this one where space just decides to show up in IE.


    Code:
    {include file="$EngineHeaderFile"}
    <!-- Calendar Stuff -->
    <script type="text/javascript" src="{$calendar}"></script>
    <script type="text/javascript" src="{$calendaren}"></script>
    <script type="text/javascript" src="{$calendarsetup}"></script>
    
    <form action="{$smarty.server.PHP_SELF}" name="EngineForm">
    <input name="PageName" type="hidden" value="EngineSetup">
    <input name="Method" type="hidden" value="LandOnly">
    <input name="Action" type="hidden" value="Validate">
    
    <table width="770" border="0" cellspacing="0" cellpadding="0">
      {foreach item=Error from=$Errors}
    	<tr width="150"><td colspan="2"><p class="error">{$Error.Message}</p></td></tr>
    	{/foreach}
      <tr>
        <td colspan="2"><div id="h1ead"><span class="current">Destination</span> > Hotel > Options > Finalize</div></td>
      </tr>
    
      <tr>
        <td width="601">
    	<div id="infobe">
    <h2>Select your Destination</h2>
    <div id="path4">
      <ul>
        <li><a href="?PageName=EngineSetup&Method=AirPackage&Action=Display{if $DestCode != ""}&DestCode={$DestCode}{/if}"><span>Air Package  </span></a></li>
        <!-- <li><a href="?PageName=EngineSetup&Method=MAirPackage&Action=Display"><span>Multi-City Air Pkg. </span></a></li> -->
        <li id="current"><a href="?PageName=EngineSetup&Method=LandOnly&Action=Display{if $DestCode != ""}&DestCode={$DestCode}{/if}"><span>Land Package  </span></a></li>
        <!--<li><a href="?PageName=EngineSetup&Method=MLandOnly&Action=Display"><span>Multi-City Land Package  </span></a></li> -->
      </ul>
    </div><br><br><br>
     <table>
          <tr>
            <td width="195" height="30"> Destination:</td>
    
            <td width="274" height="30"><select name="Destination" size="1" id="select3">
    		{foreach item=Dest from=$DestData}
    		<option value="{$Dest.Code}">{$Dest.Name}</option>
    		{/foreach}
            </select></td>
            <td width="117" height="30">&nbsp;</td>
          </tr>
    
          <tr>
            <td height="30"> Departure Date: </td>
            <td height="30"><input name="DepartureDate" type="text" value="{$MinDepDate}" size="12" maxlength="8">
          <img src="{$GlobalImageDir}date_picker.jpg" width="21" height="15" id="CalPopup"> mm/dd/yy</td>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
    
            <td height="30"> Number of Nights: </td>
            <td height="30"><select   name="Duration" size="1">
            <option value="02" selected>2</option>
            <option value="03">3</option>
            <option value="04">4</option>
            <option value="05">5</option>
    
            <option value="06">6</option>
            <option value="07">7</option>
            <option value="08">8</option>
            <option value="09">9</option>
            <option value="10">10</option>
            <option value="11">11</option>
    
            <option value="12">12</option>
            <option value="13">13</option>
            <option value="14">14</option>
            <option value="15">15</option>
            <option value="16">16</option>
            <option value="17">17</option>
    
            <option value="18">18</option>
            <option value="19">19</option>
            <option value="20">20</option>
            <option value="21">21</option>
            <option value="22">22</option>
            <option value="23">23</option>
    
            <option value="24">24</option>
            <option value="25">25</option>
            <option value="26">26</option>
            <option value="27">27</option>
            <option value="29">28</option>
            <option value="30">30</option>
    
            <option value="31">31</option>
        </select></td>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td height="30"> Passenger Information: </td>
            <td height="30"><select   name="NumAdult">
              <option value="1" selected>1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
            </select>Adults </td>
            <td height="30">&nbsp;</td>
    
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
            <td height="30"><select   name="NumChd" onChange="show_chd()">
              <option value="0" selected>0</option>
              <option value="1">1</option>
              <option value="2">2</option>
    
              <option value="3">3</option>
            </select>Children (Under 18) </td>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td
            ><td height="30"><select   name="ChdAge1" onChange="show_chd()">
              <option value="0" selected>0</option>
    
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
              <option value="5">5</option>
              <option value="6">6</option>
    
              <option value="7">7</option>
              <option value="8">8</option>
              <option value="9">9</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
    
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
            </select>
    
              <select   name="ChdAge2" onChange="show_chd()">
                <option value="0" selected>0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
    
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
    
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
                <option value="16">16</option>
    
                <option value="17">17</option>
              </select>
              <select   name="ChdAge3" onChange="show_chd()">
                <option value="0" selected>0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
    
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
    
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
    
                <option value="16">16</option>
                <option value="17">17</option>
              </select>Children Ages </td>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
    
            <td height="30">&nbsp;</td>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
            <td height="30"><input name="Submit" type="submit" value="Continue" class="button"> 
              </td>
            <td height="30">&nbsp;</td>
          </tr>
    
          <tr>
            <td></td>
            <td></td>
            <td></td>
          </tr>
        </table>
    	<h2 class="h2big">&nbsp;</h2>
    <div align="left">
      <blockquote>&nbsp;</blockquote>
    
    </div>
    
    
    
    </div></td>
        <td width="169" valign="top">
    <div id="cibox">
    	<p class="ci0">Current Itinerary</p><br><br>
        <p class="ci1">Welcome {$UserName}!</p><br>
    	<p class="ci1"></p></div>
          </td>
    
      </tr>
    </table>
    <br><br><br><br>
    </form>
    {literal}
    <script type="text/javascript">
        Calendar.setup({
            inputField     :    "DepartureDate",           //*
            ifFormat       :    "%m/%d/%Y",
            showsTime      :    false,
            button         :    "CalPopup",        //*
    		singleClick    :    false,
    		weekNumbers    :    false
        });
    </script>
    {/literal}
    <script language="JavaScript" type="text/JavaScript">
    document.onLoad=show_chd();
    </script>
    {include file="$EngineFooterFile"}

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    try putting style="margin: 0; padding: 0;" in your form tag like

    Code:
    <form action="{$smarty.server.PHP_SELF}" name="EngineForm" style="margin: 0; padding: 0;">
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  6. #5
    Member
    Join Date
    Feb 2005
    Location
    Portland, Oregon
    Posts
    93
    Member #
    8959
    dang, that worked! THANK YOU!!!!!!


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 05:47 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com