Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Positioning in IE
- From: peter at brunone.com (Peter Brunone)
- Subject: [Javascript] Positioning in IE
- Date: Mon Jul 26 09:41:55 2004
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
>>
- Follow-Ups:
- [Javascript] Positioning in IE
- From: Hakan Magnusson (Backbase)
- [Javascript] Positioning in IE
- References:
- [Javascript] Positioning in IE
- From: Hakan Magnusson (Backbase)
- [Javascript] Positioning in IE
- Prev by Date: [Javascript] Positioning in IE
- Next by Date: [Javascript] Positioning in IE
- Previous by thread: [Javascript] Positioning in IE
- Next by thread: [Javascript] Positioning in IE
- Index(es):