Where to place CSS styles when using Content Pages and Master Pages in ASP.Net

Last Reply on Jul 15, 2014 04:29 AM By Mudassar

Posted on Jul 15, 2014 04:29 AM

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Companies.aspx.cs" Inherits="ITS_Group.companies"  MasterPageFile="~/Buiss_Sys_Dev.Master" Title="Companies"%>
<asp:Content ID="PageContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
        <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                    <asp:View ID="View1" runat="server">
                        <table align="center" class="style1">
            <tr>                <td>
                    &nbsp;</td>            </tr>
            <tr>                <td>
                            <asp:Label ID="Label1" runat="server" Font-Names="Impact" Font-Overline="True" 
                                Font-Size="XX-Large" Font-Underline="True" 
                        Text="Search with Company"></asp:Label>
                        </td>            </tr>            <tr>
                <td>

this part of html of a content page where to add Css in it as it doesn't contain <form> tag

Posted on Jul 15, 2014 04:29 AM

You can add <style> tags in content place holder and write CSS