请问怎么把头像从黑框位置移到红框位置
<div id="um">
<div class="avt y"><a href="home.php?mod=space&uid=$_G"><!--{avatar($_G,small)}--></a></div>
<p>
<!--{hook/global_usernav_extra1}-->
<span class="pipe">|</span><!--{hook/global_usernav_extra4}-->
<span class="pipe">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
<span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G} class="new"{/if}>{lang pm_center}</a>
我把代码改成这样
<div id="um">
<p>
<!--{hook/global_usernav_extra1}-->
<span class="pipe">|</span><!--{hook/global_usernav_extra4}-->
<a href="home.php?mod=space&uid=$_G"><!--{avatar($_G,small)}--></a>
<span class="pipe">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
<span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G} class="new"{/if}>{lang pm_center}</a>
但是却变成了这样
改了以后设置对应的CSS样式即可!
width:
height:
border:
border-radius: 技术帮助 发表于 2015-7-7 12:37
改了以后设置对应的CSS样式即可!
技术....我那样改的好像不对....改了之后在设置了对应的CSS样式以后连logo都小了 <a href="home.php?mod=space&uid=$_G"><!--{avatar($_G,small)}--></a>
给这段代码加上 class或者ID就不会影响到LOGO了
页:
[1]