I'm using Eric Martin's SimpleModal plugin (http://www.ericmmartin.com/ projects/simplemodal/) and I have a question regarding modal divs that are not the same size.
One of the modal dialogues is really short another one quite long. Hence I would like to use the CSS properties max-width and max-height instead of height and width. This however results in the divs not centred on the page. Is it at all possible to use variable sized divs and still use the same CSS class?