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.