| hwg-techniques archives | Feb 2002 | new search | results | previous | next |
Re: Setting the left attribute of a <SPAN>by "Micah R. Condon" <micahc(at)webdezyne.com> |
|
document.all.datetime.style.position = 'relative'; // or absolute document.all.datetime.style.posLeft = 100; document.all.datetime.innerHTML = dispTime; ----- Original Message ----- From: "Melanie Gann" <mgann(at)second-street.com> To: <hwg-techniques(at)hwg.org>; <Chucke(at)captura.com>; <natlyle(at)nmu.edu>; <ht(at)ohlsen.dk>; <rcampbel(at)standard.com>; <jmackintosh(at)iturf.com> Sent: Monday, February 25, 2002 10:36 AM Subject: Setting the left attribute of a <SPAN> > The following code works fine with Netscape in terms of setting the left > attribute of a <span>. But does not work in IE. > > document.layers.datetime.left =100; > document.layers.datetime.document.write(dispTime); > > Right now I'm just trying to get a hardcoded value to work. But ultimately > I want it to change the coordinate based on the clients screens size. > > Thanks for the help, > Melanie > > > Second Street Web Design > http://www.second-street.com > > >
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA