Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

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.
 
Share this answer
 
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>











 
Share this answer
 
<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 />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900