Re: Setting the left attribute of a <SPAN>

by "Micah R. Condon" <micahc(at)webdezyne.com>

 Date:  Mon, 25 Feb 2002 12:37:03 -0700
 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>,
"Melanie Gann" <mgann(at)second-street.com>
 References:  server
  todo: View Thread, Original
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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.