the css menu is not a problem

Apr 9, 2008

Precise centering of the menu bar

Hey,
I've put the menu in a table TD <td height="45" align="center">,
but the menu is not centered exactly in the middle of the table.

Any thoughts?
Common problem?
Bruce


Answer:

Hi Bruce,
I've tested your code.

The DIV id="f-source-menu" enclosed in the SPAN <span
style="position:relative;"> and <div align="center">
1. Remove the SPAN.
2. Remove another surrounding DIV <div align="center">.

The menu will be centered by the TD <td height="45" align="center">

To make more precise centering you need to set a real menu bar width
to the flash object. The real menu width is about 595, but your flash
object width is 630.

Regards
Dmitry
f-source.com

No comments: