1) Script Title:
DD Tab Menu (5 styles)- Example 3
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm
3) Describe problem:
http://img300.imageshack.us/img300/5908/beztytuurx7.png
I also want text to be on the center.
1) Script Title:
DD Tab Menu (5 styles)- Example 3
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm
3) Describe problem:
http://img300.imageshack.us/img300/5908/beztytuurx7.png
I also want text to be on the center.
Try adding the code in red to the very last CSS menu item:
By center, do you mean center the menu items relative to the bar itself? Since this menu uses CSS's float:left declaration, there's no easy way to do that. Example #5 in the demo, which is a different style, does, however.Code:<li><a href="http://www.dynamicdrive.com" rel="sb1">Home</a></li> <li><a href="http://www.dynamicdrive.com/new.htm" rel="sb2">DHTML</a></li> <li><a href="http://www.dynamicdrive.com/style/" rel="sb3">CSS</a></li> <li><a href="http://www.dynamicdrive.com/forums/">Forums</a></li> <li><a href="http://tools.dynamicdrive.com/imageoptimizer/" style="border-right-width:0" >Gif Optimizer</a></li>
Thank you very much, it works![]()
And with this center- never mind![]()
Bookmarks