Hello,
I am binding a data to HTML Component with Service. I tried to change "font-size" of the html but could't make it work.
How can i change it?
Thanksi
Hello,
I am binding a data to HTML Component with Service. I tried to change "font-size" of the html but could't make it work.
How can i change it?
Thanksi
Hi -
Could you please explain with more details what and where you are trying to change with your service.
Hi,
I just want to style html component from css.
Hello,
Please send us you CSS, probably you use wrong selectors.
Hello Alena,
Selector is right. For example, when i don't bind the code with mapping, "font-size","color" and "background" css works. But when i bind the code or text with mapping, just "background" works.
Thanks,
Hello,
Could you clarify what you have tried and what exactly does not work?
Hello,
I need to change the "font-size" of the html component with css to but it doesn't work when i bind a html code to html component with mapping. (I gave a css name to html component and add "font-size" for that html)
Could you please show the code that you are using?
This is the code string coming from the rest service :
code<p>This is a test html</p>/code
(The string contains html tags)
Please use CSS like that:
pre[name=htmlComponent] p {
font-size: 10px;
}/pre
here htmlComponent - name of the component html