Hi,
I'm trying to center the webdatamenu within a div. Normally for UL elements a text-align:center should do the trick. But with the webdatamenu, whatever I try, it stays on the left side. Can someone give me a hint how to center the menu?
I'm using 2009-2 version.
Hi Ivan,
When I try this
protected void Page_Load(object sender, EventArgs e) { WebDataMenu1.Attributes["style"] = "text-align:center"; }
it does not center the webdatamenu. It always stays on the left side, no matter what I try.
Hello,
Hello you can manipulate text value of the menu by CSS for example you can use the code below to set text in center of the items
menu.Style.Value = "text-align:center";
or
menu.Style.Value = "text-align:right";
for right side
Thanks
Ivan Baev