开发者

html span tag in iphone webview

开发者 https://www.devze.com 2023-02-28 11:13 出处:网络
how can i break the line in sapn tag. when line is big. I have used following code for that in iphone as webview. 开发者_运维知识库

how can i break the line in sapn tag. when line is big. I have used following code for that in iphone as webview.

开发者_运维知识库

Website Url: %@

but when website url is longer so the screen no look like proper with alignment. so how can i manage the alignment in that case.

please reply


You could use <br/> tag but span is a inline element which means if you use <br/> it'll b considered as one line anyway.

Change span to a block element or add display:block to your class to solve the problem.

0

精彩评论

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