View Full Version : AnyLink Drop Down Menu Question
Does anyone know of a way to center the dropdown text links? They're left aligned.
Thanks,
DRW
:confused:
bfisher
03-07-2005, 10:42 PM
It's sort of a hack, but you can do it. Make the first element of the array a table tag, for example:
menu1[0] = "<table border=0 cellpadding=0...>"
You can then add table rows and cells to the remaining elements.
menu1[1] = "<tr><td align="center"><a href="http://www.something.com">link text</a></td></tr>"
That has worked for me in the past. Be sure to use the final element to close the table tag.
Best of luck.
bfisher
ddadmin
03-09-2005, 10:04 PM
If you're referring to centering the text inside the drop down menu, simply add a text-align attribute to the CSS file:
#dropmenudiv{
text-align: center;
"
"
}
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.