Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-03-20 08:29:21

kaichan
New member
Registered: 2007-03-20
Posts: 1

div resize handlers position relative

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 sad

Thx in advance.

Kai Chan

Offline

#2 2007-03-22 10:13:20

mouloud
Xinha Community Member
Registered: 2007-02-23
Posts: 12

Re: div resize handlers position relative

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

#3 2007-03-22 11:42:59

jedi58
Xinha Authority
From: Leicester, UK
Registered: 2007-01-14
Posts: 113
Website

Re: div resize handlers position relative

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

Board footer

Powered by FluxBB