ASP如何将横放更改图片为竖立

来源:百度知道 编辑:UC知道 时间:2024/05/10 23:13:12
<tr> <br>
<%
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="select top 5 * from imgbook order by ID desc"
rs.open sql,conn,1,1
if rs.bof and rs.eof then
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Write("<center>对不起。没有相关图片!</center>")
else
do while not rs.eof
img=rs("news_content")
if instr(img,"[img]") then
img = Replace(img, "[img]", "<img src=")
img = Replace(img, "[/img]", " border=1 style='border-color:#4286E7' alt='点击看详细资料' width=120 height=119 onMouseOut=nereidFade(this,75,10,5) onMouseOver=nereidFade(this,100,10,5) style='FILTER: alpha(opacity=75)'>")
else

什么叫竖着放,你要旋转图片还是干什么
旋转图片与ASP没有关系,使用CSS,还得看浏览器是否支持CSS的部分功能,反正OPERA就不行.firefox支持也不完全,IE7淘汰了老的CSS

FILTER: FlipV