【发布时间】:2014-04-29 05:03:13
【问题描述】:
我有一个网页视图,我想将链接颜色 blue 更改为 white 。在 html 标签下方,我正在更改字体,效果很好。请告诉我更改链接颜色的html标签是什么。
NSString* htmlContentString = [NSString stringWithFormat:
@"<html>"
"<style type=\"text/css\">"
"body { background-color:transparent; color: #eadfa8;font-family:Arial; font-size:24; }"
"</style>"
"<body>"
"<p>%@</p>"
"</body></html>", content1];
[webview loadHTMLString:htmlContentString baseURL:nil];
【问题讨论】:
标签: html objective-c uiwebview