Start of Content Area

Background documentation Stylesheets  Locate the document in its SAP Library structure

Use

Stylesheets and cascading stylesheets are extensions of HTML tags and are used to make adapting formatting in your BSP application to the design specifications of your application more easy and precise. You can also use stylesheets to specify formats and formatting, thereby unifying the design of individual BSPs.

HTMLB

When you use BSP extensions you can insert your own CSS files as follows:

<%@ page language="abap" %>

<%@extension name="htmlb" prefix="htmlb" %>

<htmlb:content>

  <htmlb:document>

    <htmlb:documentHead>

      <htmlb:headInclude/>

      <link rel="stylesheet" href="mystyle.css">

    </htmlb:documentHead>

    <htmlb:documentBody>

      ...

    </htmlb:documentBody>

  </htmlb:document>

</htmlb:content>

See also:

Setting Stylesheets for HTMLB, XHTMLB, and PHTMLB

 

End of Content Area