Styles do not work by referencing stylesheet

  1. #1

    Styles do not work by referencing stylesheet

    I have defined the following CSS styles:

      /* cabecera del las columnas del grid*/
            .x-column-header {
                border-right: 1px solid #cfcfcf;
                color: #666;
                font: 300 11px/12px helvetica, arial, verdana, sans-serif;
                outline: 0;
                background-color: #fff;
            }
            /*titulo cabecera del grid, panel, form*/
            .x-title-text {
                display: table-cell;
                overflow: hidden;
                white-space: nowrap;
                -o-text-overflow: ellipsis;
                text-overflow: initial;
                vertical-align: baseline;
                font-size: 13.5px;
            }
    
            /* texto de campos de captura*/
            .x-form-text-default {
                color: #000;
                padding: 3px 6px 2px;
                background-color: #fff;
                font: 300 11.5px/15px helvetica, arial, verdana, sans-serif;
                min-height: 22px;
            }
    These styles are defined within the aspx file and they work fine, but if I put them in a stylesheet and reference with <link href="../css/Estilos.css" rel="stylesheet" /> they don't work, I already checked and the path is correct,

    why is this happening?

    Thanks!
    Last edited by JCarlosF; Sep 10, 2020 at 5:03 PM.
  2. #2
    Hello @JCarlosF!

    Can you paste (stripping any proprietary/unrelated code) the HEAD block of the page:

    a) from the .aspx or .cshtml file, the way it is in source code
    b) from the generated/rendered page, which will also include Ext.NET resources' CSS references.

    Looking forward to your follow-up!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Referencing controls on layout page in referencing view
    By edip in forum 4.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 29, 2016, 10:13 PM
  2. [CLOSED] stylesheet issue - Razor
    By MTSI in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 12, 2012, 2:27 PM
  3. Replies: 2
    Last Post: Jun 06, 2012, 8:50 PM
  4. Replies: 1
    Last Post: Mar 26, 2012, 9:11 PM
  5. Version 2 stylesheet
    By kagster in forum 2.x Help
    Replies: 2
    Last Post: Mar 19, 2012, 1:13 AM

Posting Permissions