Skip to Content
avatar image
Former Member

SAPUI5: Eclipse execution

Hi,

Ref: attachment

I am using separate css file and have written my own html code; but the execution of this code is not rendering the output; the same code can be rendered in Brackets without the sap provided header (meta & script code).

<link rel="stylesheet" type= "text/css" href="abc.css">

Do we need to modify the SAP provided header code to write our custom css.

Thanks.

Derek

code1.png (213.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 22, 2016 at 05:34 PM

    no.......

    //just to pass check, i add this dummy words

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2016 at 10:44 AM

    Hi Derek,

    In the href please check the path
    where the abc.css file is located in the project .

    Until you make the exact path css file will not be loaded.

    Thanks,

    Deepak.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 25, 2017 at 10:35 AM

    Give the exact path in the href attribute.Now to your control, add the addStyleClass method, in the parameter give the name of your style class.

    Hope this helps,

    Regards.

    Add comment
    10|10000 characters needed characters exceeded