Jump to content

Masterpage


Leo Moura
 Share

Go to solution Solved by Leo Moura,

Recommended Posts

Olá ! Tenho uma pasta chamada : PConta , dentro dela tenho as páginas de login , registro de usuários ...

Estas páginas estão associadas a uma Masterpage. Mas não estão seguindo o css da masterpage. Por que?

Eu preciso que a página Registro.aspx , use o mesmo layout da Masterpage

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Master1.Master" CodeBehind="Registro.aspx.vb" Inherits="Wcd.Registro" %>

123pldv.jpg

A masterpage está usando o css

<head runat="server">
   <title></title>
   <asp:ContentPlaceHolder ID="head" runat="server">
   </asp:ContentPlaceHolder>
   <style type="text/css">
    @import url('FCss/Default.css');
   </style>
</head>
Link to comment
Share on other sites

<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
@import url('~/Fcss/default.css');
</style>
</head>

O código acima está na masterpage.

Como a página de registro é nova ... o código dela é esse:

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Master1.Master" CodeBehind="Registro.aspx.vb" Inherits="Wcd.Registro" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>

Mas continua sem chamar o css para as páginas de dentro desta pasta.

Edited by Leo Moura
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.