Actually, it's better than I was expecting, but apparently the CSS width
attribute can be used with textboxes, here's an example code, use as you
please. I tested it with IE5 and today's Mozilla build (not sure if
Netscape 6 has a bug that might prevent it from rendering differently),
and I'm getting almost identical results on both browsers:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Gerbil-Box - The Next Generation</title>
</head>
<style type="text/css">
<!--
input {
font-family: verdana, sans-serif;
font-size: 12pt; width: 100px;
}
//-->
</style>
<body>
<form method="get" action="forms.html">
<input type="text" name="name" size="20" maxlength="60"
value="Look at me! I'm a text box widget!">
</form>
</body>
</html>
Happy now? Got any questions about this, will answer.
--
Alex <:3)~~
http://www.gerbilbox.com/newzilla/