Highlighted

Why does Coldfusion 2016 cfwindow mess up the css for my web page?

New Here ,
Aug 02, 2019

Copy link to clipboard

Copied

I am moving from CF10 to CF2016 and I have discovered that the pages that contain a cfwindow command have significant styles being added. For example, the body statement which in my source has no other tags, now shows as having class="x-body x-webkit x-chrome x-rest" added and these styles change the appearance of the pages. This does not seem to happen on pages without a cfwindow. They are left as I coded them.

I've tracked the effects thru Chrome Developer Tools, and the style sheet ext-all.css, which is part of ext JS 4.1 is doing the damage. The result is changes in font size and spacing on the web page. This did not happen in CF10 and so far I have not found any pages without cfwindow statements that have the same problem.

So why is it doing this? How can I stop that behaviour without creating special versions of style sheets that are used only on those pages? This affects a number of websites.

Views

70

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Why does Coldfusion 2016 cfwindow mess up the css for my web page?

New Here ,
Aug 02, 2019

Copy link to clipboard

Copied

I am moving from CF10 to CF2016 and I have discovered that the pages that contain a cfwindow command have significant styles being added. For example, the body statement which in my source has no other tags, now shows as having class="x-body x-webkit x-chrome x-rest" added and these styles change the appearance of the pages. This does not seem to happen on pages without a cfwindow. They are left as I coded them.

I've tracked the effects thru Chrome Developer Tools, and the style sheet ext-all.css, which is part of ext JS 4.1 is doing the damage. The result is changes in font size and spacing on the web page. This did not happen in CF10 and so far I have not found any pages without cfwindow statements that have the same problem.

So why is it doing this? How can I stop that behaviour without creating special versions of style sheets that are used only on those pages? This affects a number of websites.

Views

71

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 02, 2019 0

Have something to add?

Join the conversation