开发者

html span tag in iphone 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜