View Full Version : Styles do not work by referencing stylesheet

Sep 10, 2020, 5:59 PM
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?


Sep 10, 2020, 9:56 PM
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!