CSS Vertical
CSS Vertical
Out of context: Reply #3
- Started
- Last post
- 11 Responses
- heavyt0
This is a little trickier if you have a variable height div.
I have done it before, basically, you need to use JS to get the offsetHeight of the DIV, then do the math and set the top margin. You will need to call that fcn onload and also onresize.