Custom CSS in oaf

Source: Internet
Author: User

Requirements:In oaf, if CSS is not used, you may encounter some display problems. For example, on a details page, the first half of the page displays the detailed information of the header, and the second half of the page displays the detailed information of the row, if the messagestyledtext component is used to display the header information, the font of prompt and value is inconsistent, resulting in a significantly smaller font of prompt than that of value. Therefore, CSS is often used for control, such as the style class of oradatatext.

Description:The webbean of oaf supports custom CSS. Each webbean has the cssclass attribute. You can set or obtain the CSS class name through setstyleclass () and getstyleclass.

Custom CSS:The available CSS in oaf is defined by XSS (XML style sheet). All XSS files are stored in the oa_html/Cabo/styles/directory, oa_html must be under the directory of your project (usually in myhtml. Custom CSS can be stored in custom. XSS or written as a separate XSS file and then referenced in custom. XSS.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.