Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is the text disappearing?
    primarykey
    data
    text
    <p>I created a new web application, which gives me a master page. I changed the foreground color and the background color of the header, and the text isn't showing anymore. Why? Isn't the foreground color the text color? If not – how <em>do</em> I control the text color?</p> <p>I'm doing this in design view.</p> <p>I now see that running it – the text <em>is</em> shown. But not when I'm in design mode. But it <em>is</em> shown if I don't change the div's (on which the text is) backcolor.</p> <p>How do I see the text again?</p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt; &lt;head runat="server"&gt; &lt;title&gt;&lt;/title&gt; &lt;link href="~/Styles/Site.css" rel="stylesheet" type="text/css" /&gt; &lt;asp:ContentPlaceHolder ID="HeadContent" runat="server"&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;style type="text/css"&gt; .style1 { font-family: "Segoe UI"; color: #FF0000; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;form runat="server"&gt; &lt;div class="page"&gt; &lt;div class="header"&gt; &lt;div class="title"&gt; &lt;h1&gt; My ASP.NET &lt;span class="style1"&gt;Application&lt;/span&gt; &lt;/h1&gt; &lt;/div&gt; &lt;div class="loginDisplay"&gt; &lt;asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false"&gt; &lt;AnonymousTemplate&gt; [ &lt;a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server"&gt;Log In&lt;/a&gt; ] &lt;/AnonymousTemplate&gt; &lt;LoggedInTemplate&gt; Welcome &lt;span class="bold"&gt;&lt;asp:LoginName ID="HeadLoginName" runat="server" /&gt;&lt;/span&gt;! [ &lt;asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/&gt; ] &lt;/LoggedInTemplate&gt; &lt;/asp:LoginView&gt; &lt;/div&gt; &lt;div class="clear hideSkiplink"&gt; &lt;asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal"&gt; &lt;Items&gt; &lt;asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/&gt; &lt;asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/&gt; &lt;/Items&gt; &lt;/asp:Menu&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="main"&gt; &lt;asp:ContentPlaceHolder ID="MainContent" runat="server"/&gt; &lt;/div&gt; &lt;div class="clear"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="footer"&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload