简体   繁体   English

Visual Studio Express 2013网站

[英]Visual studio express 2013 web

sorry to bother you all but i have a simple problem i need help with: 抱歉打扰大家,但我有一个简单的问题,我需要帮助:

1)Im building a website and i have this problem: whenever i put design view on a .aspx page and change an image's size, it would cause all images on all the website to become the same size. 1)我正在建立一个网站,我有这个问题:每当我将设计视图放在.aspx页面上并更改图像的大小时,它将导致所有网站上的所有图像变为相同的大小。 It's really bothering me and i don't how to fix. 这真的让我很困扰,我也不知道如何解决。 Please help. 请帮忙。

2)This is my home.aspx page, whenever i view in designer mode, it would show me full contents but whenever i run the page as in view browser, it shows blank. 2)这是我的home.aspx页面,每当我在设计器模式下查看时,它将向我显示全部内容,但是每当我在视图浏览器中运行该页面时,它就会显示空白。 What is wrong with my code? 我的代码有什么问题?

  <%@ 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>

1) Maybe you put all the images in the containers that takes their style from same css file. 1)也许您将所有图像放入了来自相同css文件的样式的容器中。 2) Maybe you didnt set the page as your start page? 2)也许您没有将页面设置为起始页面? Maybe you made content invisible at the masterpage? 也许您使内容在主页上不可见了? You look a little newbie, I am not sure what advice to give you. 您看起来有点新手,我不确定会给您什么建议。

Do you have selected all the images. 您是否已选择所有图像。 If you still didn't guess what is wrong than just go to editor and try to understand the code. 如果您仍然没有猜错是什么,不只是去编辑器并尝试理解代码。

You better use Find and replace feature to modify only those images that you want to modify. 最好使用“查找并替换”功能仅修改要修改的图像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM