Welcome to the OzoneAsylum FaqWiki
Frequently Asked Questions
DHTML/JavaScript

How do I get vertical and horizontal centering with JavaScript? Pages that link to <a href="https://ozoneasylum.com/backlink?for=5340" title="Pages that link to How do I get vertical and horizontal centering with JavaScript?" rel="nofollow" >How do I get vertical and horizontal centering with JavaScript?\

It basically involves detecting the size of the available window and offsetting your box the appropariate amount. See the resources below for more info:

-------------------------------
Relevant threads:

Help with a script please... - a discussion of a JavaScript script which Bugimus worked into an example here

-------------------------------
Relevant FAQs:

How do I get vertical and horizontal centering with CSS?

_______________________
Emperor

(Added by: Emperor on Thu 17-Oct-2002)

« BackwardsOnwards »

Show Forum Drop Down Menu