andymac
Dec 5th, 2001, 05:39 AM
Hi,
I've got an ASP script that outputs a diary page with various bits overlaid onto it using absoulte positioning using CSS. This is fine because it's running in an IFRAME so I know whereabouts the origin is for the absolute positioning. However, I now need to move this to a site where I'm not using an IFRAME and the page is centered. So the absolute positioning goes out of the window and I have to do everthing with relative positioning.
Now as I see it I could either;
(a) Find some way to respecifiy the origin, I'd like to specify it as relative to another object on the form
(b) Use a load of Javascript resizing - what happens when I resize and I've fixed it absolute to a position on the screen - it doesn't reposition properly
(c) Do everthing relative, but that will require a load of extra code
(d) Do everthing relative and have some bizzare "origin" object that provides the reference point.
Has anybody done stuff like this before ? (somebody must have)
Any advice greatly appreciated !
cheers
Andy
I've got an ASP script that outputs a diary page with various bits overlaid onto it using absoulte positioning using CSS. This is fine because it's running in an IFRAME so I know whereabouts the origin is for the absolute positioning. However, I now need to move this to a site where I'm not using an IFRAME and the page is centered. So the absolute positioning goes out of the window and I have to do everthing with relative positioning.
Now as I see it I could either;
(a) Find some way to respecifiy the origin, I'd like to specify it as relative to another object on the form
(b) Use a load of Javascript resizing - what happens when I resize and I've fixed it absolute to a position on the screen - it doesn't reposition properly
(c) Do everthing relative, but that will require a load of extra code
(d) Do everthing relative and have some bizzare "origin" object that provides the reference point.
Has anybody done stuff like this before ? (somebody must have)
Any advice greatly appreciated !
cheers
Andy