. I asked some people and they also said that they need to modify the CSS style, so according to what you said, I should write one myself. Override the .x-toolbar-cell .xtb-text style, right? So now I don't know how to write to get the layout I want. Can you teach me? Since I don’t understand CSS modification styles at all, what I expressed just now is also wrong, and I hope you can forgive me.
I don’t know what layout you want.... As I just said, writing a css with the same name on the page can override the default css of ext. Of course you It must be written in the node of ext-all.css. It seems that you want to apply the xtb-text style to the div above? Then you find this css in ext-all, copy the content, write an x-toolbar-left css on the page, and paste the content of xtb-text into it. However, the impact of this approach is Very large, all objects with x-toolbar-left applied will be affected After checking, the style is: .x-toolbar div.xtb-text{ padding:2px 2px 0; line-height:16px; display:block; } This style name means that the div with class .xtb-text under the element with class .x-toolbar will apply this style, so The code you posted shows that the div you added in red does not meet this condition. Maybe you did not post all the code. If your superiors have used x-toolbar, then it will meet the requirement. If you don’t understand what I said above, I suggest you don’t change it. Be careful if something goes wrong and you don’t know the reason. Please use the default before modifying the ext code. If the default does not meet the requirements, please write your own html and don’t use ext.
The mistake is to apply xtb-text to the td above
The mistake is to apply xtb-text to the td above Well, thank you, I understand everything you want to express Well, since I know nothing about CSS, I may not express my meaning correctly. Please see my http://topic.csdn.net/u/20120924/13/badd194a-c24f-492f-95f6-37b3528bd95e.html link and you should have a better idea of what kind of layout I want to do.
The mistake is to apply xtb-text to the td above
Hello, do you know how to solve 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