更改此HTML ... 有没有办法做到这一点? 再次感谢 --sternrHey,I know this is bad, but it''s not my code - long story short - I cantchange this html...isn''t there a way of doing that?Thanks again--sternr 该代码非常糟糕。你不能这样做。 你应该设置字体大小,以及与显示相关的所有其他内容,通过CSS而不是标签本身。 that code is insanely bad. you can''t do it.you should be setting font sizes, and everything else related todisplay, via CSS instead of in tags themselves. 嘿, 我知道这很糟糕,但这不是我的代码 - 长话短说 - 我不能 更改此HTML ... 有没有办法做到这一点?Hey,I know this is bad, but it''s not my code - long story short - I cantchange this html...isn''t there a way of doing that? 你可能得到font-size字体,但你不会 能够获得像素的大小。you could probably get the "font-size" of the font, but you would not beable to get the size in pixels. 这篇关于将字体大小转换为像素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-19 18:41
查看更多