2015-01-05 90 views
0

抱歉打扰你们,但我有一个简单的问题,我需要帮助:Visual Studio速成2013网络

1)林建设一个网站,我有这样的问题:每当 我把设计图上的.aspx页面并更改图像的大小,这将导致所有网站上的所有图像变成相同大小。这真的很困扰我,我不知道如何解决。请帮忙。

2)这是我的home.aspx页面,每当我在设计器模式下查看,它会显示我全部的内容,但每当我在浏览器中运行页面时,它显示空白。我的代码有什么问题?

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"   CodeBehind="Default.aspx.vb" Inherits="EliteHosting._Default" %> 
    <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> 
<div class="row"> 
    <div class="col-md-4">  
    <h5><strong>99.9%</strong> Guaranteed Uptime</h5> 
        </div> 
          <div class="col-md-4"> 
      <h5>Guaranteed Speed & Scalibility</h5> 
           </div> 
           <div class="col-md-4"> 
       <h5>No Setup Fees</h5> 
                 </div> 
        <div class="col-md-4"> 
       <h5><strong>30</strong> Days Money Back Guarantee</h5> 
                 </div> 
             <div class="col-md-4"> 
       <h5> 24/7 Customer Support</h5> 
              </div> 
                <div class="col-md-4"> 
       <h5>Arabic Supported Live Chat</h5> 
                 </div> 
        </div> 

<div class="row"> 
    <div class="col-md-4"> 

     <img src="Resources/webhosting.png" /> 
     <h2>Build Your Own Website</h2> 
     <p> 
      Do you wish to start a blog that your friends and family can view? Do you wish to create a college project? 
      Maybe you own a small local store and wish to list its products on the world wide web? Our shared website 
      hosting plan is the quickest and most affordable way to get your website online. </p> 
     <p>You can now build your own website starting at $5/Month.</p> 
     <p> 
      <a class="btn btn-default" href="/shared">Hosting Plans &raquo;</a> 
     </p> 
    </div> 
     <div class="col-md-4"> 
      <img src="Resources/hosting.png" /> 
     <h2>Virtual Private Servers</h2> 
     <p> 
      Now with solid virtual servers, you are able to develop, design and business more power, 
      speed and stability to successfully run professional websites and applications. 
      If you need to host a website that is experiencing high traffic and requires maximum stability 
      with maximum performance, then VPS hosting is just what you need.</p> 
     <p>Gain access remotely to a virtual PC of your choice either Windows or Linux based hosted in our data centers.</p> 
     <p> 
      <a class="btn btn-default" href="/virtual">VPS Plans &raquo;</a> 
     </p> 
    </div> 
      <div class="col-md-4"> 
       <img src="Resources/FREE_Hosting12.jpg" /> 
     <h2>Resellers</h2> 
     <p> 
      You have found the perfect place to help you start offering your own web hosting 
      business without any server administration knowledge. You can create a hosting 
      account by just providing a domain, username and password. The account is 
      created as easy as it can get and your customers can start using their accounts 
      to host their websites under your business name. 
     </p> 
     <p>Start your own business now and manage it directly from home!</p> 
     <p> 
      <a class="btn btn-default" href="/virtual">Reseller Plans &raquo;</a> 
     </p> 
    </div> 
</div> 
    </asp:Content> 
+0

渲染页面的代码是什么? –

+0

@MarkZucchini你的意思是母版页吗? – Sam

+0

号码什么是编译页面的HTML内容。 –

回答

0

1)也许你把所有的图像放在容器中,它们的风格来自同一个css文件。 2)也许你没有将页面设置为首页?也许你在主页上隐藏了内容?你看起来有点新手,我不确定给你什么建议。

0

您是否选择了所有图像。如果你仍然没有猜到什么是错误的,那么只需去编辑器并尝试理解代码。

您最好使用“查找和替换”功能来仅修改那些您要修改的图像。