Advertisement
idroj07

Cabecera.ascx Problemas css

Sep 22nd, 2019
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.51 KB | None | 0 0
  1. <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Cabecera.ascx.cs" Inherits="GesPresta.Cabecera" %>
  2. <link href="./Cabecera.css" type="text/css" rel="stylesheet" />
  3. <div id="contenedor">
  4.  
  5.     <div class="sub" id="Nav">
  6.         <div id="linkbut">
  7.             <asp:LinkButton id="Inicio" runat="server" PostBackUrl="~/Default.aspx">Inicio</asp:LinkButton>
  8.             <asp:LinkButton id="Empleados" runat="server" PostBackUrl="~/Empleados.aspx">Empleados</asp:LinkButton>
  9.             <asp:LinkButton id="Prestaciones" runat="server" PostBackUrl="~/Prestaciones.aspx">Prestaciones</asp:LinkButton>
  10.         </div>
  11.     </div>
  12.  
  13.     <div class="sub" id="Titulo">
  14.         ACME INNOVACIÓN, S. FIG.
  15.     </div>
  16.  
  17.     <div class="sub" id="SegTit">
  18.         Gestión de Prestaciones Salariales
  19.     </div>
  20. </div>
  21.  
  22.  
  23. ------------------------------------------------------------------------------
  24.  
  25. #contenedor {
  26.     height: 16em;
  27.     border: 0.15em solid black;
  28.     background-color: #8DA9C4;
  29.     margin-bottom: 3em
  30. }
  31. #Nav {
  32.     background-color: #8DA9C4;
  33.     height: 10%;
  34.     text-align:center;
  35. }
  36. #linkbut{
  37.     display:inline;
  38. }
  39. #Inicio, #Empleados, #Prestaciones {
  40.     margin: 2em;
  41.     color: green;
  42. }
  43. #Titulo {
  44.     border-bottom: 0.15em solid black;
  45.     border-top: 0.15em solid black;
  46.     background-color: #134074;
  47.     height: 70%;
  48. }
  49. #SegTit {
  50.     background-color: #8DA9C4;
  51.     height: 19%;
  52. }
  53. #Nav,#Titulo,#SegTit{
  54.  
  55.     display: flex;
  56.     justify-content: center;
  57.     align-items: center;
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement