Click to See Complete Forum and Search --> : Fireworks CS3 and vertical align in popup menus


beachshooz
07-08-2008, 10:54 PM
Hello Helpers,
Has anyone had a problem with Fireworks CS3 that no matter what you do, the pop up menu is valigned top? My menu is located at http://www.harveygarcia.com/7-8pop/netpop.html. I suspect it is in the CSS somewhere but I was under the impression that Fireworks defaulted the valign to middle. I searched the CSS and found that the valign is set to middle. Any ideas? If you go to http://www.harveygarcia.com/7-8pop you can access the .css and .js files. Thanks in advance.

Centauri
07-09-2008, 12:21 AM
This is exactly why you shouldn't let fireworks generate html - what should be a very simple nested unordered list is instead polluted with unnecessary tables, javascript and divs, and totally rediculous id names .............

vertical-align is simply for aligning inline elements within the "text box" and cannot align anything within block elements. If you want the text in the centre, either set the line height to the same as the set height, or use top and bottom padding and don't set the height at all.