You are not logged in.
Hi,
I'm trying to get resize handlers on a div when its position style is relative rather than absolute. Any help very much appreciated ... I'm stuck
Thx in advance.
Kai Chan
Offline
Is this a css question or a xinha question ? I don't see where in Xinha you can create a div relative or absolute...
Offline
If your trying to do it as <element>.style.position then it will not work if it's set using a stylesheet - JavaScript will only return a value for this if it was set using JavaScript of via inline styles.
If it was set from a stylesheet (initially) then to know what value was set you'd need to use different methods depending on your browser, and it will not work in Safari. For Mozilla use getComputedStyle()
David G. Paul
[url]http://www.newearthonline.co.uk[/url]
Offline