PDA

View Full Version : DD Tab Menu- I need help!



Anita23
10-06-2007, 11:06 AM
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.

ddadmin
10-06-2007, 10:57 PM
Try adding the code in red to the very last CSS menu item:


<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>

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.

Anita23
10-07-2007, 07:52 AM
Thank you very much, it works:)
And with this center- never mind:)