Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] 门户首页diy代码问题

[复制链接]
朴小狼 发表于 2011-7-29 16:50:30 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2
浏览器: 360 
使用模板: 官方模板
BUG地址: http://127.0.0.1
本帖最后由 朴小狼 于 2011-7-29 16:54 编辑

门户首页diy的时候,想把作者名称靠后,应该怎么填写代码,例子中朴小狼就是作者名称!

代码如下:
<div class="module cl">
<ul>
[loop]
<li><span><a href="{forumurl}" target="_blank">[{forumname}]</a></span> <a href="{url}"{target}>{title}</a><a>{author}</a></li>
[/loop]
</ul>
</div>



<a>{author}</a>这个是作者代码,怎么让它右对齐呢,

求高手赐教,,




回复

使用道具 举报

卟乐 发表于 2011-7-30 09:20:15 | 显示全部楼层
回复

使用道具 举报

cr180 发表于 2011-7-30 11:53:07 | 显示全部楼层
  1. <div class="module cl">
  2. <ul>
  3. [loop]
  4. <li><em class="y">{author}</em><span><a href="{forumurl}" target="_blank">[{forumname}]</a></span> <a href="{url}"{target}>{title}</a></li>
  5. [/loop]
  6. </ul>
  7. </div>
复制代码
回复

使用道具 举报

 楼主| 朴小狼 发表于 2011-7-30 14:11:50 | 显示全部楼层
谢谢大家了,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-12 13:34 , Processed in 0.111882 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表