note
ww
<blockquote>"<i>I would like the widths of the textarea and textfield to be the same on each browser.</i></blockquote>
<p>1) Why? Who cares? Users tend to use only a single browser at any given moment and if the rendering does what you need it to do for them (not necessarily for your taste) you're 'good to go.'</p>
<p>2) In any case, if you're trying to provide for identical rendering across a variety of monitor sizes and resolutions, your intent is probably impractical, at the very least. Even today -- different browsers tend to produce variant results from identical html</p>
<p>3) So, you have an exceedingly difficult challenge, for the reasons in 2. But as long as you're merely concerned with making the fields -- as rendered case-by-case by a single browser for a single reader -- similar, you can try this (or, <b>Update: </b> [tangent]'s or [marto]'s approach, above).</p>
<p>One possible approach (while still using CGI.pm), however, may be to specify a <c><body style="width: nn; max-width: nn;"></c> (where nn is in pixels) and to (manually) use css style to set percentage-valued widths for the individual textfields and textareas. </p>
<p>(<c><style="overflow: scroll;"></c> may also help.)</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-352046">
<br>
<center><i><small>Come, let us reason together: [id://188642]</small></i></center>
<br><center><b>Quis custodiet ipsos custodes.</b> Juvenal, Satires</center><br>
</div></div>
1071727
1071727