On Mon, 1 Nov 2004 19:51:29 +1100, Rod Higgins <[EMAIL PROTECTED]> wrote: > The problem is different browsers interpret the size attribute > differently. You will find it very difficult indeed to get a consistent > layout across browsers. You will have to use some very detailed > javascript. I would be interested in what you come up with though.
Specifying the width in pixels (ie, style="width:100px") is more likely to give you an accurate result - you should find browsers are fairly consistent. However, your problem is then working out the relationship between the length of the field and the width of the characters - again, probably quite hit and miss, unless you specify a fixed width font for the text inputs. The user's font-size setting would also impact that. Sizing using ems instead of pixels might work, as that would scale with the users resolution and font-size settings. I guess it really depends how accurate you want to be. -- Kay Smoljak http://kay.smoljak.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
