Why style css not working in Client controller html code of widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 07:33 AM
Hi Community,
Below is the Client Controller code where style='padding-left:10px css is not working:-
Below is the pop up alert showing on service portal
I want the space between two fields.But it's not working.
Could someone please help me on the same?
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 11:38 AM
Hi, I would suggest to create a angular template and by using spmodal or Uib modal calling the template by defining the class for table etc and then adding css in css section. So that in future you you can work on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 01:55 AM
Hi @Ankita Kolhe ,
There could be some problem because of which it is unable to take the css value.
You can add a html entity in between the fields. That could workout for you.
Name of the html entity is (it is equal to 1 white space) or you can add   (it is equal to 5 space).
Example Code:
<body>
<h1>HTML Entity Example</h1>
<h2>A space character: hello</h2>
<h2>Equals to 5 space character:   Hello
</body>
Example Output:
You can use multiple " " or " " for more space.
Please mark my answer correct and helpful if this works for you.
Regards
Asif Jawed