473,387 Members | 3,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Align text fields

5
Hi
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?


<tr>
<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>
</tr>


<tr>
<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">
<tr>
<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>
</td>
</tr>
</table>
</div>
Mar 8 '07 #1
0 3851

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

Similar topics

4
by: Mark | last post by:
Hi there If have to text fields with a dashed border. With this css it looks ok in IE and netscape, but in firefox it "breaks" the rest of the design. It is because of the float in "kader2"... ...
11
by: Dan | last post by:
Hello all, I am getting records from a db and displaying the records to the user through a drop down menu in an asp page. Each record has 6 fields and I need to display them all to the user in...
14
by: jlemay | last post by:
if you look at http://www.emrose.net/contact1.html the last field is a textarea field and I can't make it align with the other text fields. it's pretty close, but this comes from trial and...
2
by: tshad | last post by:
I can't seem to get my cells in my Datagrid to right justify for my money fields. I have set up my template tag as: <asp:TemplateColumn Visible="true" HeaderText="Unit Price:"...
1
by: KwonNam Son | last post by:
Is this possible to align select box's option text? I tried <select style="text-align: center;"> and <option style="text-align: center;>text</option>, it didn't work properly. Any idea, please?...
4
by: Steve Swift | last post by:
If it is possible, could someone demonstrate how to make the text entered into an <INPUT TYPE=TEXTfield right-align within the entry field, please? The fields in my form are for numbers, and...
3
by: acunnon | last post by:
I am trying to put together an login page my problem is getting the three items aligned to the middle verticaly without specifing a height to anything on the page. CSS html{ height:100%;...
13
by: Stevo | last post by:
I've found that for IE6+, if you add the property text-align:center to a DIV, then *anything* inside it gets centered. That can be a table, an object/embed, another DIV, an image, or some text. ...
3
by: happyse27 | last post by:
Hi All, I wanted to align the text box for user registration but the code just wont budge... Kindly advise what is wrong? Cheers... Andrew <HTML>
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.