ḥari
2 years agoFrequent Contributor
How to get text alignment
Hi I tried to verify the text alignment in TC with the below code getComputedStyle(var).textAlign but its not fetching the alignment Can you please help me regarding these???
Not sure if you understood my previous response, but I was showing you an example that the class called myDiv inside the div tag, has styling properties defined, which can be seen using Chrome DevTools.
The screenshots you have provided doesn't indicate what object you are referring to, so I can only provide you with suggested solutions.