By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,738 Members | 1,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,738 IT Pros & Developers. It's quick & easy.

Align text fields

P: 5
I am creating a form - the section below is if the person selects flight from the drop down list another field below drops down so they can enter flight details. how can i align the flight details text fields as it looks messy at the moment and also move the whole of this section to the left a bit closer to the if flying - insert details?

<td width="100%" height="34" bordercolor="#B2E3F3" class="tableBackLgtBlue3">Travel arrangements (all travel info can be found here <link>) <br>I intend to travel by:</td>
<td width="40%" height="34" bordercolor="#B2E3F3" class="tableBackLgtBlue3">
<select size="1" onChange="form_extras(this)" name="selQ1">
<option value="Select1">Select</option>
<option value="Car1">Car</option>
<option value="Train1">Train</option>
<option value="Flight1">Flight</option>

</select> </td>

<td colspan="2" >

<div id="Select1_ext" style="display: none;"> </div>
<div id="Car1_ext" style="display: none; "> </div>
<div id="Train1_ext" style="display: none; "> </div>

<div id="Flight1_ext" style="display: none; ">
<table width="100%" cellspacing="0" cellpadding="3">
<td width="40%" class="tableBackLgtBlue3" valign="top">If flying - insert details</td>
<td width="40%" class="tableBackLgtBlue3" height="25">

Departure airport<input type="text" name="txtAirport" input size="39" /><br>
Flight Number<input type="text" name="txtFlightno" input size="39" /><br>
Arrival date/time<input type="text" name="txtArrival" input size="39" /><br>
Flight number<input type="text" name="txtFlightno2" input size="39" /><br>
Departure date/time<input type="text" name="txtDeparture_date_time" align="right" input size="39" /><br>
Mar 8 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.