. 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 of this Website
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
The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati
HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.
The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159
The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.
The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.
HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.
The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex