当前,我正在使用WebView的项目中工作。该项目位于 Swift 4中。我正在从Web服务获取HTML字符串。 HTML字符串包含文本和图像。所以我想更改文本的字体大小,背景颜色以及从整个html字符串更改图像大小,假设字体大小达到10倍,那么我想更改所有字体。我正在共享HTML字符串及其输出。
<p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt'> </p><div align=\"center\"><table class=\"MsoTableGrid\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" style='border-collapse:collapse;border:none'> <tr style='height:12.5pt'> <td width=\"216\" valign=\"top\" style='width:2.25in;border:solid #4BACC6 1.0pt; background:#DAEEF3;padding:0in 5.4pt 0in 5.4pt;height:12.5pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b>Forward path</b></p> </td> <td width=\"240\" valign=\"top\" style='width:2.5in;border:solid #4BACC6 1.0pt; border-left:none;background:#DAEEF3;padding:0in 5.4pt 0in 5.4pt;height:12.5pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b>Single loops</b></p> </td> </tr> <tr style='height:12.5pt'> <td width=\"216\" valign=\"top\" style='width:2.25in;border:solid #4BACC6 1.0pt; border-top:none;padding:0in 5.4pt 0in 5.4pt;height:12.5pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b><span style='position:relative;top:6.0pt'><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAYCAYAAABqWKS5AAAAAXNSR0ICQMB9xQAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAABZ0lEQVRYR+2VO47CMBCG5wBcAAnvHZDvYFJwAhDdigqloUYmXc6wHffgIltwA+7AYqJx/PidLKwpLG3xSfEfzyMzHoeapikWKJYCFEsBiqUAxVKA4nEtl0R0i5GXjdZTZJODlaSTF0+uTm27nSipDtu2nYT7vYWLrqu5ILrK9XFp1sZJNaMzzaozcvQXbLEC36wLtdu7+5lIYDpDv9I7Jfa5q88JcpFCTMzUu0hgHi28ty3SMlaeuxvGcamV/KxqPUfvIsGg9WYqiS7uF3dVT1foFboz/nonoYgHdjhINGwhQXVTM2R1zx7H9hZM7uOB4O6mjszYsBoigZ0OGeVgLPnfXA6R0A2R+HaHpG9l2tmzx6a3EddwIG28u81QbPvAPByCQMbJ4kN+DVXiWWz1g8TQPwbF7h3xtcWVAoOUO3kGds2JP5r8GO9Mfoz/5ItN3p7LN9//iFTsaGNJQLEUoFgKUCyDhn4AFrZzl21pZqgAAAAASUVORK5CYII=' /></span></b></p> </td> <td width=\"240\" valign=\"top\" style='width:2.5in;border-top:none;border-left:none; border-bottom:solid #4BACC6 1.0pt;border-right:solid #4BACC6 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:12.5pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><span style='position:relative;top:6.0pt'><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAYCAYAAABKtPtEAAAAAXNSR0ICQMB9xQAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAABiklEQVRYR+WXPW7CMBSA3wFYOyDhbt26EN8h9cDQCamJMlViQlk4gMmWhQt04xzlBNygAz1B79DWiRJh+z3nRxEJ8vBJ5MOKX57fewHIssxrUOkTqPQJVPoEKn0ClduQ7QDgt2YhTps8n2FrxyDicLyOj4Xbncu7QKViH/MVAPsRqVxi349NeUh2fJSnQKWiuNHETv6a4rR5dGzrKVCZ55uZWMCpTQmNgZTJnANceLxftfEuUClTsWTAvqZa/mV78ksi5byNd4HKvuVvDiGLDqXpwrlPxz0sUZX/UME20TVpVHv2KX+FJfre6FZQ7dn3rWUJsr+S51f2AN+uHrtFC1DtSfnqQNX+2FDXLqjyL7MenN9k+vTyyD+6DJkhqR6GKn/sAdMwXKt41ZoAgk8z9vpDefLIqVX8J0UlaKwElD9w9Hgw73p1R5wdzBbRFjQxZgKGIBbi3WwRbUET95wAVeHYYNcumrjXBBTtTQxgS7iop/yE/yOYmDPCrAJtsY+g0idQ6ROo9IcM/gDmONd8R+2ACQAAAABJRU5ErkJggg==' /></span>,<span style='position:relative; top:6.0pt'> </span><span style='position:relative;top:6.0pt'><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAYCAYAAABOQSt5AAAAAXNSR0ICQMB9xQAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAABl0lEQVRYR+2WsXGDMBSG3wAeIL4z3sGoT4lV+NIHjio5N/HReABBR+MF3HmOeIJskMIbeIckgsMB8QsL4gQ4pfgKfehA9/R+CUqS5J8voLQRKG0EShuB0kag3HjOlog+Lsz4cZ2mEzS3b3xGh/JaHW+zbfI6oJTEAVsROWceiQV6PiTyjauvVecRUEqylwy4E8pku8/8g6lHQJmm6wmf0fFaOw0BIcIpIzqxIF6ZeB1QiogvHHLexxCLPMLsFAoxNfE6oPxpLNSDqoZhu5rQ+K0W36mJIha3XKwJXYqni3DbWEhqostL+kIX4S43Xk00ZY6F4bMsktyhpoP0r6KhizDyedHoLL+P1l4Z6GKRv8R9e/C8F1kg2TUuua+mB9FvUHSuLhaqj6PoThYmez5f7tXifU/MOgHsXoFSHJ85u75ulfxHqb421aOdl5vKH8W96iuDNgScP3W9VfriElkQzcrAlOy8GMFhipDxX87ZXo11ZZIJWYRudNj1BermyoRrqBkcU1eUbzK07srAZqC0EShtBEr7SOgTO0QewodV7xkAAAAASUVORK5CYII=' /></span></p> </td> </tr> <tr style='height:17.75pt'> <td width=\"216\" valign=\"top\" style='width:2.25in;border:solid #4BACC6 1.0pt; border-top:none;background:#DAEEF3;padding:0in 5.4pt 0in 5.4pt;height:17.75pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b>Associated path factor</b></p> </td> <td width=\"240\" valign=\"top\" style='width:2.5in;border-top:none;border-left:none; border-bottom:solid #4BACC6 1.0pt;border-right:solid #4BACC6 1.0pt; background:#DAEEF3;padding:0in 5.4pt 0in 5.4pt;height:17.75pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b>Determinant of graph</b></p> </td> </tr> <tr style='height:17.75pt'> <td width=\"216\" valign=\"top\" style='width:2.25in;border:solid #4BACC6 1.0pt; border-top:none;padding:0in 5.4pt 0in 5.4pt;height:17.75pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b><span style='position:relative;top:6.0pt'><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAYCAYAAABnRtT+AAAAAXNSR0ICQMB9xQAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAABPUlEQVRYR+2UsW0DMQxFOYAXMGBlB4PwCsoVroPgBHeGK0ONB5CvuyYLpPMeXsUbeIckUnwOT6FsAQkDFikecPdF4j55pKDrOvWwojZYURusqA1W1AYrRkJYTa31T9yZBH2/mTQzOMKsOW76fkLPRoGUrTU7LkGC2BAEOAHAW7XJa1UfSej2Sy5GglJjRkEDe4fLhfPPySi2By5GgmqTsYuPD/i6CmGaksCcGx/meZwE1SaDb+Zo/To9X2bF2O0uj7tFi3BI81Wi8HeqTTrEELs4vH9+EE9Uk6LKJO0i1QzA+S8WqMpki+Yln7/8/vra/HJ3xX53mj90gR4OxG2nC0SXK4/9Cam4WyZTFVzVlEsHftvk6DJPjG+Ubwk1SHWyBCve498kAyve47q9zJBLwIraYEVtsKI2WFEXHbwDLVyrI8ZH77QAAAAASUVORK5CYII=' /></span></b></p> </td> <td width=\"240\" valign=\"top\" style='width:2.5in;border-top:none;border-left:none; border-bottom:solid #4BACC6 1.0pt;border-right:solid #4BACC6 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:17.75pt'> <p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;line-height: normal'><b><span style='position:relative;top:7.0pt'><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAAAaCAYAAAB4rUi+AAAAAXNSR0ICQMB9xQAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAACWUlEQVRoQ+2YMXICIRSGOYAHiDNu7qBM2pTrFtZO4o5VMlbONh4A7WxyATvPES+Swht4h8SHYhAfyAroulJ8M84D8Yf/vQcJmc1mkQcADUbqBxqM1A80GKkfaPBeGFCyJIT8cuhgic15JMZpMtGdx9HEewOMTtLxBBt7ZHgB2BrN2LCZpkUfG3NlPh81shZZkVa2Gs3nDWyODT6MPuoKW8R6ungofOrg37E1mrcBRyMwIIEoIWsuvAJGA7uWl2yygrVt4qHwpcPa6EPFbc2g+bSHzXHFRyL5Mho7GFM8FL50YPOPJgimOe295MUbNzvQRqtitOgwakLr4qHwqcPKaKjm7jNdDBlrhmxdVTEakpoQuob92sRD4VOHldGsyNo0LT755302mQ6TLyo9Fk7QdISqGG3UH6ibYfjUYWV0TimTs2cnwH9m64w2bhiQNgBzMaNt1xBvEXUNl7ZdRr/Atw6uwWS0XM1yLCFk4/uuqkJF7/aW/KhX065dXu+17VvHWaMHNPlSFz33N+8lGQxUwWidBl1cVBjsy+V3VcroEIVn0mA0mm+C5kweFITIcC7mhkbr3h+6OFCkaR+uMJjTIZ1vH9dZWR3ToniCM+Pjz90Fdn5Go3n2yJWIoanOMogN/K97eQJdavTJXvf7UuOmtbHuVxYXHVDZ2Tt7VeOA0eh7xKWiXcmz7MOlG7nAjZQSAx2PRrsDV5nvx2lZ5P93qGPRaA/w94qmkq6NrqtEox1R785bVDU38czv19Low8FXpMpuyVEi1snoiD1oMFI/0GCkfqDBSN2YkT+XVDp2fQcCOgAAAABJRU5ErkJggg==' /></span></b></p> </td> </tr> </table></div><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt'><span style='font-size:5.0pt;line-height:115%'> </span></p><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;background: #DAEEF3'><b> </b>Transfer function is given by,</p><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;background: #DAEEF3'> <b><span style='position:relative;top:15.0pt'><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAAAuCAYAAAC8olJxAAAAAXNSR0ICQMB9xQAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAAELklEQVR4Xu2bO1LkMBCGfQAOAFUMdwDVphsaB8TULi4iKCLKCfGWZ7JJ9gJknGO5yAbcgDvsTssjo5Fbko0faokOvqrh99i0pFZ3Sx5lm82GYciCigxDBVRkGCqgIsNQARWpsy7FVZZl/7qIt9u6PsHu0anr25M8r66xa6lzI7KXgz4TNy/b7cNRLvJfD9vtEXZPSFAxBuqqOF9l2bso11fwN3RycZq9ZqfFq6+jH/PVU5/vpUQ7qY12K32VPz7p36cCKsZA07GHEVM6nieKto68GxTl3KmjnNDWXug3qn2BijEgU9UuPXU0T2SEwfpWVj+kkxr3p4jKNK62Vrm4L6r6HLsWGlSkDtSQIsve9FnfRE93VIToeXkmniHCNt9fvVMdmKloas5+tTlFUJE6bT11gH8QIJqIvLqXn/dOTrX2mgJbXa6XOUP6LwSoSJ0+qRyjFKLWByH26OJDTUJbeqe+QAJQkTKfjXx69NQ1fScgNXwO2mdRGRpUpEzjVKu/Q2vHG7H6bd4zZGsqVpos0a2127YTXyiiImVkhxud+lFT4dFARhJR1qYONGmuGUDfc2KkjaJGm8zsQbXtqEgR1aFtUY8U/mqFrt8HqBW+k73Tu54TM00kNdo8oA9D0X7wDSJW833MOvyeJbdxpurcVB20D+QdVIV7s86DNOhalOhpUteX3ABmBx0PaQet8vxaGWY6KBheFOWd+q6JzUGXhB10PKQdVGfoStl0UJ9DzwE76Hi+jIO6Vs1z0S4CRm4ZTfWcGKHYdlT8nIOqhdEex/4auqLUIb43F7v9MYGKMUZQJk1QkWIN2olSC4LZMxTzmYydg37T/1CMdVAfnOKZvqDi3A7KMH3pCOYbJXODXqZveHu0W+lV6+q48yaJowczIajIMFRAxZSAHQUqR4z17DPlPqNZE6usZ9PnYg47UDElZMlCYOP542dvu0GawZ6mNOuuA2z6XExtByqmQhuxdk5B5VfzfSfM0NeOMkoh9b9N70toO1AxFWB3gdoR4zkcVEVncxLa9CGEtgMVU0Dv2KXTnIs5HLTZ5uv+Et6mDyG0HaiYArCXS/GI8RwOai5CDhiZOULbgYopQPWIsctBnQMMIIMMDgQljDn5xqRVKnYAqBg7evTUNQpHjKeOoLa3fk1aHV/WhLYDFWOH8hHjqR3U9ry+/8dHaDtQMWZkSulxxBi7vgQyfU7koLba2lVzq2uQqvvU5LPZsc9oPjtQMWbkjNXrJYwAW066YzS4J4rPMTrt3LfJ1M3BV2fPwJ6L7OKPLzLOZce6qo5hksp+Obt8tk3YjsB8HbBSaGkgkhY/6+/YNQAVma9BWRR3n60Np6DdLXBkNFRk0gfq8dA7GoCvhOgITPrIxWKAOtyGK5J3BCZtzMVLqCiqvwxw2YCKDEMFVGQYKqAiw9Bgk/0HtmieapxhgwkAAAAASUVORK5CYII=' /></span></b></p><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt'><table cellpadding=\"0\" cellspacing=\"0\" align=\"left\"> <tr> <td width=\"28\" height=\"8\"></td> </tr> <tr> <td></td> <td><img src='data:image/.png;base64,iVBORw0KGgoAAAANSUhEUgAAAH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vxaskpbxB3l+9TRanaArALSfLZTv3yZRVSeLqGy53AGZ9DOByeC6MAfmBFy4jXynA5Ljr3a229e6zQ1PdrYHXFENmrUj1mhuSsa2kVqbHb1cZPd0/PcH78SmyvbROJiyMzECiY/r+AEwAXuHhN5iS39+A33VI5BK3wQP8O2GH+CSlo0wV3sPtJ+H59WbvDaB3mFb2R1ABvHxDNmwprZeZSZmSXFYnY+eFbRwg/tvDtLK/QinAvJCNScX8rhCWyHuzdgNwDqaV/Rnckt784bIwlDeaPR+As/Cx/A8XizPlYP1xQAAAAABJRU5ErkJggg==' /></td> </tr> </table><b> </b></p><br clear=\"ALL\"><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt'> </p><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;background: #DAEEF3'>Self loop at the input node is invalid.</p><p class=\"MsoNormal\" style='margin-bottom:0in;margin-bottom:.0001pt;background: #DAEEF3'><b><span style='color:blue'> </span></b><span style='color:black'>Hence, the correct option is (A).</span></p>
在这里您可以看到背景颜色和字体大小有所不同。某个地方是粗体,某个地方是常规字体,而且图像和文字之间还有很多空间
答案 0 :(得分:0)
只需将top:15.0pt更改为4.0pt,将所有top:6.0pt更改为2.0pt,然后更改背景:#DAEEF3; HTML文件中的任何内容。
要更改图像大小,只需在img标签的末尾提供图像的高度和宽度。
答案 1 :(得分:0)
最终得到了解决方案。无需替换字体大小或图像大小。请在HTML下面编写,并在两者之间传递HTML。将其加载到Webview中时,您的字体大小将正常显示,图像也将显示。 You can find image that i have implemented in my app.
let aData = "your HTML string from web API"
"<html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><style type=\"text/css\">span{top:0 !important;}img{max-width: 100%; width:auto; height: auto; zoom: \(aZoom); vertical-align:middle !important}body{color: #000}iframe{ min-width: 100%; width: 100px; *width: 100%;}</iframe></style></head><body>\(aData)</body></html>"