开发者

HTML character display problem

开发者 https://www.devze.com 2023-01-31 05:10 出处:网络
I am trying to display A/c in a div tag, but this label comes from a spring multilingual framework and getting converted into A/开发者_StackOverflowC here c getting capitalized, I tried with escape ch

I am trying to display A/c in a div tag, but this label comes from a spring multilingual framework and getting converted into A/开发者_StackOverflowC here c getting capitalized, I tried with escape character also but nothing worked


Okay, well your problem is that the browser is capitalizing the letter. Try replacing the 'c' with c and if that isn't working check any CSS styles applied to the div for

text-transform: capitalize;

or

text-transform: uppercase;

Capitalize transforms the first character of each word to uppercase
Uppercase transforms all characters to uppercase

And change it to

 text-transform: none;

==EXAMPLE== <div>A/&#99;</div>

More Info »

0

精彩评论

暂无评论...
验证码 换一张
取 消