帐号
注册
密码
登录
只需一步,快速开始
关闭
安全选项
找回密码
记住我
我的中心
登录或注册新用户,开通自己的个人中心
切换到窄版
快速搜索
帖子标题
作者
版块
PageAdmin网站内容管理系统(CMS)交流论坛
»
PageAdmin使用区
»
安装及使用交流
»
请问调整图片展示表单里图片的大小
PageAdmin使用区
安装及使用交流
案例交流及展示
系统改进和发展建议
系统发布及下载
用户交流区
网站技术资源区
网站营运交流
广告灌水专区
返回列表
查看:
3648
|
回复:
6
请问调整图片展示表单里图片的大小
[复制链接]
发送短消息
UID
59514
精华
0
查看公共资料
搜索主题
搜索帖子
little_haha
组别
PageAdmin新手
生日
帖子
73
积分
146
性别
注册时间
2017-09-11
1
#
字体大小:
t
T
发表于
2017-10-18 15:04
|
只看楼主
请问调用了子栏目表单里图片展示的模型,但是图片大小不是很满意,请问在哪里调整?
<ul class="article_pic">
<%
DataTable dt=Get_Data();
DataRow dr;
for(int i=0;i<dt.Rows.Count;i++)
{
dr=dt.Rows
;
%>
<li style="<%=TitlePic_Size%>" class="item">
<a href="<%=Detail_Url(dr)%>" target="<%=Target%>"><img src="<%=dr["titlepic"]%>" border="0" style="<%=TitlePic_Size%>"></a>
<span class="title">
<a href="<%=Detail_Url(dr)%>" target="<%=Target%>" title="<%=Server.HtmlEncode(dr["title"].ToString())%>"><%=SubStr(dr["title"].ToString(),Title_Num,true)%></a></span>
</li>
<%
}
%>
<li class="clear"></li>
</ul>
这是表单的代码。
/*文章样式*/
.newsad{text-align:left;height:30px;overflow:scroll;}
.newsad ul li{height:25px;line-height:25px;padding:5px 0 0 30px;background:url(images/newsico.gif) no-repeat 10px center;}
.newsad ul li .date{color
666666;}
.article{overflow:hidden;}
.article li{clear:both;height:24px;line-height:24px;text-align:left;overflow:hidden;_float:left;width:100%;*float:left;*width:100%;}
.article .title{float:left;text-align:left;padding:0 0 0 10px;background:url(images/li_icon01.gif) no-repeat left center;}
.article .date{float:right;color
666666;padding-right:2px}
.article table td{text-align:center}
.article table td img{border:1px solid #ececec;margin:5px 5px 5px 5px;}
.nav_box .article li{height:auto;border-width:0px}
.nav_box .article .title{float:none;}
.nav_box .article .date{float:none;}
.nav_box .phb{background:url(images/no.gif) no-repeat 0 11px}
.nav_box .phb li{height:20px;padding:6px 0 2px 5px;overflow:hidden}
.nav_box .phb li .title{background-image:none}
.sublanmu_box .article li{height:25px;border:0px dotted #dddddd;border-width:0 0 1px 0}
.tw_article{clear:both;}
.tw_article li{text-align:left;border:1px dotted #cccccc;border-width:0 0 1px 0;padding:10px 0 10px 0;overflow:hidden;height:100%} /*置顶通用样式*/
.tw_article .pic{float:left;margin:5px 10px 5px 0;border:1px solid #dddddd;display:inline}
.tw_article .content{float:none!important;float:left;display:inline}
.tw_article .title{text-align:left;line-height:20px;}
.tw_article .title a{font-weight:bold;padding-left:0px}
.tw_article .introduct{padding:2px 5px 5px 0px;line-height:20px;color
666666;}
.hh_article{clear:both;}
.hh_article li.tw{text-align:left;line-height:20px;border:1px dotted #cccccc;border-width:0 0 1px 0;padding:5px 0 5px 0;overflow:hidden;height:100%} /*置顶通用样式*/
.hh_article .tw .pic{float:left;margin:5px 10px 5px 0;border:1px solid #dddddd;display:inline}
.hh_article .tw .title{text-align:left;line-height:25px;}
.hh_article .tw .title a{font-weight:bold;padding-left:0px;font-size:14px;color
cc0000}
.hh_article .tw .introduct{padding:2px 5px 5px 0px;line-height:20px;color
666666;}
.hh_article li.normal{clear:both;height:20px;padding:6px 0 2px 5px;text-align:left;overflow:hidden;}
.hh_article .normal .title{float:left;text-align:left;padding:0 0 0 10px;background:url(images/article_arrow.gif) no-repeat left center;}
.hh_article .normal .date{float:right;color
666666;padding-right:2px}
.lanmupage .tw_article li{padding:1px 0 2px 0;}
.article_pic{display:block;}
.article_pic li.item{float:left;text-align:center;padding:0 10px 40px 10px}
.article_pic li img{border:1px solid #cccccc;}
.article_pic li .title{display:block;text-align:center;height:25px;}
.articleinfor .title{text-align:center;padding:10px 0 5px 0;margin-bottom:20px;}
.articleinfor .title h1{font-size:20px;color
9F0505;}
.articleinfor .info{text-align:center;padding:3px 10px 5px 0;color
666666;border-bottom:1px #9F0505 solid}
.articleinfor .content{font-size:1.1em;line-height:2.0;padding:10px 0 10px 0;}
.articleinfor .content p{min-height:10px;margin-bottom:15px;}
.articleinfor .bz{text-align:center;width:250px;background-color
ffff99;border:1px solid #ff9900;padding:2px 0 3px 0;}
.article_pic_infor{display:block;}
.article_pic_infor .title{display:block;height:22px;font-size:13px;font-weight:bold;}
.article_pic_infor .left{float:left;text-align:center;width:30%}
.article_pic_infor .right{floatright;text-align:left;width:70%}
.article_pic_infor .left img{width:200px}
.article_pic_infor .info{text-align:right;padding:2px 2px 0 0;color
666666}
.article_pic_infor .introduct{display:block;text-align:left;padding:10px 5px 5px 5px}
.article_pic_infor .content{display:block;text-align:left;padding:10px 0 5px 0;width:97%}
.article_pic_infor .content .title{display:block;width:100%;height:29px;padding-top:5px;background:url(images/list_titlebg.jpg) repeat-x left top;}
.related{margin:20px 0 10px 0}
.related ul{clear:both;overflow:hidden}
.related .headtxt{font-size:14px;color
D33506}
.related li{height:23px;background:url(images/article_arrow.gif) no-repeat left 10px;overflow:hidden;}
.related li a{color
333;font-size:13px;padding-left:10px;}
.sublanmu_pn{font-size:13px;margin:15px 0 5px 0}
.sublanmu_pn li{color
D33506)
这是comm.css里的相关代码。
分享
转发
TOP
发送短消息
UID
27
精华
0
查看公共资料
搜索主题
搜索帖子
xiyou
组别
管理员
生日
帖子
16315
积分
27099
性别
注册时间
2015-11-29
2
#
字体大小:
t
T
发表于
2017-10-18 15:29
|
只看该用户
PageAdmin CMS-想到就能做到!
TOP
发送短消息
UID
59514
精华
0
查看公共资料
搜索主题
搜索帖子
little_haha
组别
PageAdmin新手
生日
帖子
73
积分
146
性别
注册时间
2017-09-11
3
#
字体大小:
t
T
发表于
2017-10-18 19:32
|
只看楼主
回复
2楼
xiyou
的帖子
这个也不会,唉,劳驾一下,xiyou老师!
TOP
发送短消息
UID
27
精华
0
查看公共资料
搜索主题
搜索帖子
xiyou
组别
管理员
生日
帖子
16315
积分
27099
性别
注册时间
2015-11-29
4
#
字体大小:
t
T
发表于
2017-10-19 08:52
|
只看该用户
建议学习一下html和css基础,对建站有帮助
PageAdmin CMS-想到就能做到!
TOP
发送短消息
UID
59514
精华
0
查看公共资料
搜索主题
搜索帖子
little_haha
组别
PageAdmin新手
生日
帖子
73
积分
146
性别
注册时间
2017-09-11
5
#
字体大小:
t
T
发表于
2017-10-19 18:01
|
只看楼主
回复
4楼
xiyou
的帖子
没有用,代码加上去了没任何变化。还需要我贴哪里的截图出来?
我有学习的打算,得等这个网站做完。经过两个月的努力,基本快弄完了,就差最后这两个问题了。
TOP
发送短消息
UID
27
精华
0
查看公共资料
搜索主题
搜索帖子
xiyou
组别
管理员
生日
帖子
16315
积分
27099
性别
注册时间
2015-11-29
6
#
字体大小:
t
T
发表于
2017-10-20 10:09
|
只看该用户
PageAdmin CMS-想到就能做到!
TOP
发送短消息
UID
59514
精华
0
查看公共资料
搜索主题
搜索帖子
little_haha
组别
PageAdmin新手
生日
帖子
73
积分
146
性别
注册时间
2017-09-11
7
#
字体大小:
t
T
发表于
2017-10-20 11:14
|
只看楼主
回复
6楼
xiyou
的帖子
xiyou老师,搞定了。万分感谢。
flash和飘窗动画的问题,麻烦您有空一定帮看看咋回事。万里长征就差最后一步了。
TOP
上一主题
|
下一主题
返回列表
高级编辑器
B
Color
Image
Link
Quote
Code
Smilies
默认表情
你需要登录后才可以发帖
登录
|
注册
发表回复
查看背景广告
隐藏
发新主题
PageAdmin使用区
安装及使用交流
案例交流及展示
系统改进和发展建议
系统发布及下载
用户交流区
网站技术资源区
网站营运交流
广告灌水专区
TOP
设置头像
个人资料
更改密码
用户组
收藏夹
积分
Default