Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Positioning in IE


  • From: hakan at backbase.com (Hakan Magnusson (Backbase))
  • Subject: [Javascript] Positioning in IE
  • Date: Mon Jul 26 09:51:53 2004

<!DOCTYPE html PRIVATE "-//M$//DTD SlutDOM 1.0//EN">

Peter Brunone wrote:
> 	This isn't exactly on topic, but what constitutes "humping"
> non-standard properties?  Do you have to put your browser in promiscuous
> mode?
> 
> -----Original Message-----
> From: javascript-bounces@xxxxxxxxxx On Behalf Of Hakan Magnusson
> (Backbase)
> 
> You are still humping IE-specific, non-standard properties.
> 
> 
>>I just added my $0.02 in case somebody wanted to do it the RIGHT way, 
>>and don't want to split their code up more than necessary.
> 
> 
> Feel free to use proprietary code with no future compatibility.
> 
> Regards,
> H
> 
> Paul Cowan wrote:
> 
> 
>>What about:
>>
>>document.getElementById('glava').style.posLeft = '500px';
>>
>>dagda1@xxxxxxxxxxx
>>
>>
>>>From: "Peter Brunone" <peter@xxxxxxxxxxx>
>>>
>>>    Just for the record, Hakan's is the most correct answer, 
>>>according to the DOM.  Also, you would never assign units to the 
>>>pixelLeft property since it takes an integer and assumes pixels... 
>>>And if you assign a property with units to the style.left property, 
>>>you'd need to feed it in as a string.
>>>
>>>Cheers,
>>>
>>>Peter
>>>
> 
> 
> 
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 
>