Tag Archives: layout

Customize image to fit into the page

Sometimes the image width is bigger than the page. So to set it in pagelayout , alter the attributr size like this: style=”width: 890px;” will control this. <asp:Image ID=”Banner” runat=”server” ImageUrl=”~/images/bannar.jpg”                             style=”width: 890px; vertical-align:middle; text-align:center;” /> The div width … Continue reading

Posted in ASP.NET, Programming | Tagged , , , , | Leave a comment

100% height

First, give html and body tag 100% because they are the parents, html, body { height: 100%; } then give any child tag 100%

Posted in CSS, Programming | Tagged , | Leave a comment

Frames vs Tables

Frames vs Tables Frames divide up your browser window into separate areas. In each of these a page is loaded. Tables divide up a web page into separate cells. Frames Disadvantages: Frames are not very good for web search engines … Continue reading

Posted in ASP.NET, Comparison, Programming | Tagged , , , , | Leave a comment