Re: Netscape and style sheets, I have a problem

by "Derek Lavine" <derek(at)realware.com.au>

 Date:  Thu, 27 Jul 2000 12:23:05 +1000
 To:  "Pietro De Santis" <marf2000(at)home.com>,
"HWG Languages" <hwg-languages(at)hwg.org>
 References:  home
  todo: View Thread, Original
Thanks Pietro,

I would very much appreciate the Javascript example for field size
manipulation

Regards,

Derek
----- Original Message -----
From: Pietro De Santis <marf2000(at)home.com>
To: Derek Lavine <derek(at)realware.com.au>; <hwg-languages(at)hwg.org>
Sent: Thursday, July 27, 2000 12:26 PM
Subject: Re: Netscape and style sheets, I have a problem


> Field sizes can be made to appear the same using JavaScript to set the
field
> size depending on the browser. I don't have an example at hand but can
send
> it on Thursday night (I'm a consultant at a bank and I don't have a phone,
> no internet access and no e-mail!).
>
> Background colours inside form objects are not supported in Netscape.
>
> Pietro.
>
> > From: "Derek Lavine" <derek(at)realware.com.au>
> > Date: Thu, 27 Jul 2000 09:19:21 +1000
> > To: <hwg-languages(at)hwg.org>
> > Subject: Netscape and style sheets, I have a problem
> >
> > Hi all,
> >
> > I am having a bit of a problem with Netscape and my style sheets.
> >
> > I have a page like this (well actually this is part of a larger page but
it
> > still has the same problem)
> >
> > <html>
> > <head>
> > <title>Test</title>
> > </head>
> > <body>
> >
> > <form action="" method="post">
> > <table border="1" cellpadding="3" cellspacing="0">
> > <tr>
> > <td>Client Ref</td>
> > <td>Name</td>
> > <td>Number</td>
> > <td>Email</td>
> > </tr>
> > <tr>
> > <td><input type="text" name="f_clientRef" size="10" maxlength="10"></td>
> > <td><input type="text" name="f_contactName" size="20"
maxlength="25"></td>
> > <td><input type="text" name="f_contactNumber" size="12"
> > maxlength="20"></td>
> > <td><input type="text" name="f_contactEmail" size="30"
> > maxlength="100"></td>
> > </tr>
> > </table>
> > </form>
> >
> > </body>
> > </html>
> >
> > And all displays reasonably well in both IE and NN (though the field
lengths
> > in NN are a bit to long), but then I add some styles
> >
> > <style type="text/css" title="test">
> > td {font-size: 8pt; color:#666666; font-family:Verdana, Arial,
Helvetica,
> > sans-serif}
> > input {font-size: 8pt; background-color:#cccc99; color:#FF0000;
font-family:
> > Verdana, Arial, Helvetica, sans-serif}
> > </style>
> >
> > In to the header and IE seems to do just fine but NN does this odd (and
very
> > annoying thing) where by it stretches the fields so they are now much
longer
> > than they should be. The fields are longer than before the styles had
been
> > added which is odd since I have reduced the font size. IE seems to
resize
> > the fields in the correct way. Further NN seems to ignore the background
> > colour settings
> >
> > Has any one got any ideas. I am trying to make the pages look reasonably
> > similar in IE and NN but it is proving very hard. I don't so much care
about
> > the background colours but the fields sizes need to be correct
> >
> > Thanks very much
> >
> > Derek
> >
> >
>
>

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA