Title: Message
 >  Is there a prototype.js or script.aculo technique to easily center one div within another? 
 
A few more words of explanation...
 
- I'm familiar with centering DIVs using margin: 0 auto 0 auto;  I need this DIV to be centered top to bottom, left to right...
 
--- and it needs to work in IE 5.5, which is another level of difficulty.
 
I've tried writing a _javascript_ to get the height / width of both DIVs.  It isn't easy when either of the DIVs has height:auto;  height will return "null".
 
Sam 
 
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to