Will the container div flex? If not, then you will have to do it manually
by taking half the remaining distance and distributing it evenly to top and
bottom margin. If it does flex, then you are outta luck.... But now that I
think about it, I can't come up with a good scenario where you would have a
vertically centering div in a vertically flexing div.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> wrote
Quote:
I have a img in a div that is centered within the div horiz., but I need it
centered in the div vertically as well.
I have it set up as a block, gave the block a width and height, but I'm
not seeing anything to center it.
Thanks,
Steve |