Back to Devexpress

How to Resolve CSS Conflicts

generalinformation-404835-css-customization-css-conflicts.md

latest962 B
Original Source

How to Resolve CSS Conflicts

  • Feb 22, 2024

Global CSS selectors for common HTML tags, such as <table>, can affect other controls and widgets that are based on regular HTML elements. Conflicts between global CSS styles and DevExpress styles may cause disruption in DevExpress ASP.NET controls’ appearance.

Follow the recommendations below to resolve the issue:

  • Use DevExpress project templates to create an application. These templates do not include global styles that might affect other controls derived from regular HTML elements.
  • Use CSS classes with unique names rather than the global selectors. This technique allows you to apply style settings to particular HTML elements only.

See Also