jQuery Vertical Align
An easy way to vertical align elements with one line of code:
- invalid argument jquery J[G]=K
It's fairly easy to structure your html to not require a vertical align offset so it's really not needed anyways.
It also supports a couple of parameters:
- offset = the number of pixels to offset the vertical alignment
- usePadding = true/false. the default is false which uses a margin to align, if set to true, it uses padding
Get the source: VerticalAlign.zip (290.00 bytes)
Need an Umbraco Master?
Here at Simon Antony, we have an in house certified Umbraco Grand Master available for hire. Got a problem with your site, need architecture advice, give us a call to speak to Simon directly and see how we can helpContact Simon Today!