Skip to Content
0

SAPUI5: Eclipse execution

Dec 22, 2016 at 04:34 PM

81

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jun Wu Dec 22, 2016 at 05:34 PM
0

no.......

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 26, 2016 at 10:44 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Arjun Biswas Sep 25, 2017 at 10:35 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded