Home >Web Front-end >HTML Tutorial >Ah, urgent problem of css conflict_html/css_WEB-ITnose

Ah, urgent problem of css conflict_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:56:501099browse

I added the easyui plug-in to an existing project and only used the easyui datagrid
Unexpectedly, the easyui.css file introduced and a css file in the project contained many class name conflicts
resulting in The datagrid and the buttons in the original project have become very disharmonious, and the horizontal scroll bar of the datagrid does not appear.

Can anyone please pay attention to how to deal with it so that each can use its own
Originally, it was just Tables that need detailed information can just use easyui. Now it’s becoming more and more messy.


Reply to the discussion (solution)

You put the css file in the project Rename the conflicting class name

You rename the conflicting class name of the css file in the project


There are too many and you can’t change it

Nothing else There is a way, you can only change one.


You rename the conflicting class name of the css file in the project


There are too many and I can’t change itThe editor has some shortcuts for search, replacement, etc. It will be quick

Thank you everyone, it seems that the only way to change it is to change it

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn