iamge显示更大 [英] iamge shows bigger

查看:70
本文介绍了iamge显示更大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些asp页面的asp.net.所有页面的包含文件中都有菜单和其他常见元素.
asp页面图像有时显示特别是横幅图像大,刷新(f5)时显示包子,则显示正确.
如果有人知道为什么这样显示请帮助我.
push

i have asp.net with some asp pages. all the pages have menu and other common elemnts in include file.
asp page images some times shows big especially banner image, bun when refresh(f5), it shows properly.
if any one know why its showing like this please help me.
push

推荐答案

ASP和ASP.NET是两个不同的东西,请正确标记您的问题.

您是否在img标签中指定图像的大小?很难根据您提供的信息来猜测,但是如果您指定渲染尺寸,我认为没有理由不使用该尺寸.
ASP and ASP.NET are two different things, please tag your question properly.

Are you specifying the size of the images in your img tags ? It''s really hard to guess based on the lack of info you''ve provided, but if you specify the render size, I see no reason for it to not be that size.


实际上,我在asp页中有问题,而不是asp.net页中的问题.
如果我将表格的宽度设置为800,则图像的相对宽度为100%.

加载后的ASP页面图像的宽度似乎很大,当我刷新它达到正常大小时. menu.htm具有标题图像.






< title>欢迎来到TamilAuthors.com








< tdvalign>








Actually i have the isssue in asp pages, not asp.net pages.
say if i set the width of the table to 800, the image has relative width of 100%.

asp page after loadin it the width of the image seems big, when i refresh it come to normal size. menu.htm has the banner image.






<title>Welcome To TamilAuthors.com








<tdvalign>












<br />
<!-- #INCLUDE FILE="CommonPages/aspHeader.asp" --><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml"><br />
<head><br />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br />
<meta content="" /><br />
<title>Welcome To TamilAuthors.com</title><br />
<script src="CommonPages/MenuJS.js" language="Javascript"></script><br />
<link rel="STYLESHEET" type="text/css" href="CommonPages/TAstyles.css" />       <br />
<!-- #INCLUDE FILE="CommonPages/TASelect.js" --><br />
</head><br />
<body><br />
<table border="0" align="center" cellpadding="0" cellspacing="0" width="800" style="table-layout:fixed"><br />
  <tr><br />
    <td><br />
        <img src="Images/banner1.jpg" border="0" style="width: 100%" /><br />
        <!-- #INCLUDE FILE="CommonPages/menu.htm" --><br />
    </td><br />
  </tr><br />
  <tr><br />
  <td><br />
  <table border="0" style="margin-right: 0px;width: 800px;padding:0px; table-layout:fixed"> <br />
	<col width="17.5%" /> <col width="65%" /> <col width="17.5%" /><br />
  <tr><br />
  <td valign="top" align="left" width="140px"><br />
  <!--Left side ads --><br />
   <!-- #INCLUDE FILE="CommonPages/LeftAd.htm" --><br />
  </td><br />
  <td width="520" valign="top"> <br />
             <table width="500" border="0" align="center" cellpadding="0" cellspacing="0"><br />
        <tr><br />
          <td><br />
			<img src="Images/007.PNG" height="45" width="500" /></td><br />
        </tr><br />
        <tr><td> </td></tr><br />
        </table> <br />
  </td><br />
  <td valign="top" align="right" width="140px"><br />
        <!--Right side ads --><br />
        <!-- #INCLUDE FILE="CommonPages/rightAd.htm" --><br />
  </td><br />
  </tr><br />
</table><br />
  </td><br />
  </tr><br />
  </table><br />
</body><br />
</html><br />


这篇关于iamge显示更大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆