473,480 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

fieldset height

Hey guys, i am having trouble with getting the heights corrected on my
fieldset. Right now i have 2 table cells side by side. And inside of
each there is a field set. The fieldset to the right is longer then
the one to the left. So the one to the left centers itself virticaly
to the cell. Is there any way i can eather raise it all the way to
the top or make the height 100% of the cell? I have tried height=100%
and a few other things with no luck. Here is my code:

<table width="100%">
<tr>
<td width="25%" cellpadding="20">
<fieldset style="float:top;">
<legend>Clients</legend>
Customer john
</fieldset>
</td>
<td width="75%">
<form action="testPost.php" method="post">

<div id="clientInfo">
<fieldset>
<legend>Client order
information</legend>
<table width=100%
cellpadding="20">
<tr>
<td
width="65%">

<label>Name</label><br/>

<input type="text" name="custName" size="36"><br/>

<label>Billing Address</label><br/>

<input type="text" name="billAddrLine1" size="36"><br/>

<input type="text" name="billAddrLine2" size="36"><br/>

<input type="text" name="billAddrLine3" size="36"><br/>

<label>Phone Number</label><br/>

<input type="text" name="custPhone" size="36"><br/>

<label>Email Address</label><br/>

<input type="text" name="custEmail" size="36"><br/>

<label>Order Terms</label><br/>

<input type="text" name="orderTerms" size="36"><br/>

<label>Order Date</label><br/>

<input type="text" name="orderDate" size="36"><br/>

<label>Order#</label><br/>

<input type="text" name="orderNo" size="36"><br/>

<label>Tax ID#</label><br/>

<input type="text" name="taxId" size="36"><br/>

<label>Purchase Order#</label><br/>

<input type="text" name="purchOrder" size="36"><br/>
</td>
<td
align="left" width="35%">
<b style="font-
size: 1.3em;">Additional Options</b><br/>
<fieldset
style="padding: 0 0 0 0">

<legend>Select Ship To Address</legend>

<SELECT NAME="shipToAddr" SIZE=3 style="TEXT-
ALIGN:right;background: #fffbef;">

<OPTION VALUE=a>Address 1

<OPTION VALUE=b>Address 2
</
SELECT>
</fieldset><br/
>
<fieldset
style="padding: 0 0 0 0">

<legend>Shipping Method</legend>

<SELECT NAME="shipMeth" SIZE=3 style="TEXT-
ALIGN:right;background: #fffbef;">

<OPTION VALUE=aBest Way

<OPTION VALUE=bSpecial
</
SELECT>
</fieldset><br/
>
<b style="font-
size: 1.3em;">Payment Method</b><br/>
<input
type="radio" name="payMeth" value="COD">COD<BR/>
<input
type="radio" name="payMeth" value="CC">Credit Card<BR/>
<input
type="radio" name="payMeth" value="Terms">Terms<BR/><BR/
<table
align="right">
<tr><td
align="right">
<INPUT
TYPE="button" VALUE="Proceed >" style="font-weight:
bold; -moz-border-radius: 5%" onClick="hideItemEntry();"><BR/><BR/>
<INPUT
TYPE="button" VALUE="Print Blank Form" style="height:
20px; width: 175px; text-align: left"><BR/><BR/>
<INPUT
TYPE="button" VALUE="Print Completed Form"
style="height: 20px; width: 175px; text-align: left">
</td></tr>
</table>
</td>
</tr>
</table>
</fieldset>
</div>

<div id="PaymentInfo"></div>
<div id="itemEntrySection"></div>

</form>
</td>
</tr>
</table>

The fieldset that is to small is the client one. Thanks in advance.

Feb 13 '07 #1
1 7369
On 2007-02-13, Nate12o6 <Ba*******@msn.comwrote:
Hey guys, i am having trouble with getting the heights corrected on my
fieldset. Right now i have 2 table cells side by side. And inside of
each there is a field set. The fieldset to the right is longer then
the one to the left. So the one to the left centers itself virticaly
to the cell. Is there any way i can eather raise it all the way to
the top or make the height 100% of the cell? I have tried height=100%
and a few other things with no luck. Here is my code:
td {vertical-align: top} should align it to the top (in a <style>
element in the <headfor example).
Feb 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
10749
by: Ian Rastall | last post by:
I'm curious as to the group's feelings about using the <fieldset> and <legend> tags around elements other than <form> elements ... I wrote a small test file:...
3
20210
by: Trent | last post by:
Hello, I have a <fieldset> in a <TD>. I want the fieldset to be as high as the TD. Setting the fieldset's height to 100% works in IE. Opera ignores it. Firefox & Netscape 7.1 give it the...
0
2993
by: Anne van Kesteren | last post by:
Ok, here it goes. Originally I submitted this proposal to www-style. Since I don't get feedback there, I think I missed a few (maybe a lot) of points. Proposal:...
2
14126
by: Marek Mänd | last post by:
Can the legend element in fieldset be placed automatically by Mozilla horizontally in the middle of fieldset?
2
7407
by: luke | last post by:
I'm trying to use an image as a background for a text input box. <form> <fieldset><input type="text" name ="blah" class="cheese"></fieldset> </form> I'm using this code as part of my css to...
4
26021
by: Adam Smith | last post by:
Hello, Can I use <fieldset><legend><tr><tr> </tr></tr></fieldset></legend> to select multiple rows in a Table such that I can demarcate several rows containing form elements in a table? ...
6
8355
kestrel
by: kestrel | last post by:
i cant get my fieldset to work properly i have a form with two fieldsets, separating the required forms and optional but the one around the optional isnt working heres what i have: ...
2
3712
by: Vajrala Narendra | last post by:
hi all, am working on a project in asp.net in designing means in source code i used fieldsets. while design time it is appering normally, but in run time the positions of that fildsets were...
1
16378
by: BlueG | last post by:
I wrote simple code for expandable/collapsable fieldsets. You can try it yourselves: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
0
7033
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6903
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7027
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,...
1
6726
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5318
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4763
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2987
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2974
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
557
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.