Jump to content

positioning a div


Adam

Recommended Posts

You should be able to position the div initially by absolutely positioning it using CSS, then you can use your javascript to actually animate the div. Simply having the div appear within your body tags with the following styles applied should get it to drop down to that location (it should probably be the very last thing in your markup so that the z-index of it remains consistent across browsers):
[code]
position: absolute;
bottom: 0;
right: 0;
[/code]
Link to comment
https://forums.phpfreaks.com/topic/34393-positioning-a-div/#findComment-161926
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.