style got replaced

26 views
Skip to first unread message

Hendro Andario

unread,
Jun 13, 2020, 8:06:43 AM6/13/20
to Angular and AngularJS discussion
Hi, I want to align left my table.
Below is my code:
<td *ngFor="let headers of columnsDetailChart" style="text-align:left">
But when I ran the rendered code is:
<td _ngcontent-serverapp-c18="" style="" class="ng-star-inserted">
I new at front end (angular) and this apps is from previous programmer.
Any help would be appreciated, thanks.

Mayank Bisht

unread,
Jun 15, 2020, 1:02:17 AM6/15/20
to Angular and AngularJS discussion
inspect in browser add custom css style in browser element check, if it is working then same style add like- style='text-align:left' (check style taking in single quotes or not) 

Reply all
Reply to author
Forward
0 new messages