[css-d] Overriding global style

2021-02-25 Thread Larry Martell
In an app I am working on there is this global CSS: #preview div#results_holder table:not(.other-table), #preview div#results_holder div.results_holder table:not(.other-table) { margin-top: 0px !important; } On one page I want to have a top margin of 50 on an element with id results_holder.

Re: [css-d] Overriding global style

2021-02-25 Thread Karl DeSaulniers
Hi Larry, Are you making sure it comes after the declaration it is trying to override in the CSS cascade? Also, the style attribute trumps all with important added. You said you tried it there and it didn’t override? Best, Karl Sent from losPhone > On Feb 25, 2021, at 1:11 PM, Larry Martell

Re: [css-d] Overriding global style

2021-02-25 Thread Philippe Wittenbergh
> On Feb 26, 2021, at 4:09, Larry Martell wrote: > > In an app I am working on there is this global CSS: > > #preview div#results_holder table:not(.other-table), > #preview div#results_holder div.results_holder table:not(.other-table) { >margin-top: 0px !important; > } > > On one page I w