360
04-13-2006, 03:02 PM
AnyLink CSS Menu
http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm
Hi, i´am using the anylink css menu in my website, all works great except one thing.
I am having some trouble with aligning the menu when the page is center.
I am centering the page with the css:
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #333333;
background: white;
WIDTH: 772px !important;
MARGIN-LEFT: auto; MARGIN-RIGHT: auto;
POSITION: relative
}
the MARGIN-LEFT: auto; MARGIN-RIGHT: auto; makes the submenu to move about 200px to the right, so it doesn´t appear below the link that "opens" it. :confused:
Can you help me?
thanks
http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm
Hi, i´am using the anylink css menu in my website, all works great except one thing.
I am having some trouble with aligning the menu when the page is center.
I am centering the page with the css:
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #333333;
background: white;
WIDTH: 772px !important;
MARGIN-LEFT: auto; MARGIN-RIGHT: auto;
POSITION: relative
}
the MARGIN-LEFT: auto; MARGIN-RIGHT: auto; makes the submenu to move about 200px to the right, so it doesn´t appear below the link that "opens" it. :confused:
Can you help me?
thanks