aspcms网站首页导航下拉菜单一直偏右,请问怎么可以居中 10
<head><scripttype="text/javascript"src="{aspcms:sitepath}/templates/{aspcms:defaultte...
<head><script type="text/javascript" src="{aspcms:sitepath}/templates/{aspcms:defaulttemplate}/js/jquery-1.11.1.min.js"></script><script type="text/javascript" src="{aspcms:sitepath}/templates/{aspcms:defaulttemplate}/js/jquery.SuperSlide.2.1.1.js"></script><script type="text/javascript" src="{aspcms:sitepath}/templates/{aspcms:defaulttemplate}/js/dome.js"></script><script type="text/javascript" src="{aspcms:sitepath}/templates/{aspcms:defaulttemplate}/js/Sdcms.js"></script><style type="text/css">.top .header .navb ul li a { text-align: center;}</style></head><body><div class="top"><div class="header"> <div class="logox"><A title="{aspcms:sitetitle}" href="{aspcms:sitepath}/"><img src="{aspcms:sitelogo}" height="65"/></A> </div> <div class="navb"> <UL class="nav" id="nav"> <LI class=""><A href="{aspcms:sitepath}{aspcms:languagepath}">首页</A> </LI> {aspcms:navlist} <LI style="text-align:center"><A href="[navlist:link]" {if:[navlist:sortid]=[navlist:cursortid]}{end if} >[navlist:name]</A> {if:[navlist:subcount]>0} <dl> {aspcms:1navlist type=[navlist:sortid]} <dd><A href="[1navlist:link]">[1navlist:name]</A></dd> {/aspcms:1navlist} </dl> {end if} </LI> {/aspcms:navlist} </UL> </div> </div></div>
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询