form width calculation

win98 o/s and 800x640 resolution

the included file demos form box width problems that can be
reduced by dropping fieldset. is the widths of fieldset element
not included  or is it the cols attribute in the textarea element
that causes miscalculation.....  
--
john russell ve3ll@rac.ca [those are L's as in LLAMA]
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Form Size Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
div {margin:0px; border:0px; padding:0px}
div.c {text-align:center; margin:auto}
table {margin:auto; border:0px; padding:0px}
td {margin-left:auto; margin-right:auto; padding:1px 3px;
    border:0px; text-align:left; vertical-align:top}
form {margin:auto; padding:10px; text-align:center}
form.fancy {background:skyblue; width:560px; border:2px solid skyblue}
input {width:80px; height:20px; background:white; padding-left:2px}
input.go100 {width:100px; margin-left:5px; background:silver}
</style></head>
<body><h2>Form Size Test</h2>
<p>Amaya 8.3 extends button outside of form box. Removing fieldset brings
it in but I suspect box width calculations are not including either the
cols attribute or perhaps allowance for fieldset widths... VE3LL@RAC.CA</p>

<div class="c">
<form class="fancy" name="w" action="" method="post">
<fieldset>
<table summary="*"><tr>
<td><textarea name="w_in" cols="40" rows="3"></textarea></td>
<td><input class="go100" name="b" type="button" value="Count Words"></td>
</tr></table>
</fieldset>
</form></div></body></html>

Received on Tuesday, 9 March 2004 09:41:26 UTC