HighDots Forums  

Getting statically positioned element window offset positions (left, top)?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Getting statically positioned element window offset positions (left, top)? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pieter Van Waeyenberge
 
Posts: n/a

Default Getting statically positioned element window offset positions (left, top)? - 02-09-2004 , 06:51 AM






HEllo

i create an HTML image dynamically using document.createElement()

i dont explicitly define the 'style.position', but i assume its 'static' by
default.

according to CSS2 'left' & 'top' props dont apply to 'boxes' having
'position:static;'

is there really no way of getting window offset x & y for my element?
i remember IE used to have something like offsetX & offSetY of ofsetWidth &
Height ??


Pieter.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.