W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2004

form width calculation

From: John Russell <ve3ll@rac.ca>
Date: Tue, 09 Mar 2004 09:44:22 -0500
To: www-amaya@w3.org
Message-ID: <404D91F6.6560.870791@localhost>
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]

<!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}
<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">
<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>
Received on Tuesday, 9 March 2004 09:41:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:43 UTC