adds display:inline-block to style tag
The example attempts to change the height of an inline element (webview), which has no effect. The height will now take effect.
This commit is contained in:
parent
8aa815e6d1
commit
2ee6e43fb3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ form, the `webview` tag includes the `src` of the web page and css styles that
|
|||
control the appearance of the `webview` container:
|
||||
|
||||
```html
|
||||
<webview id="foo" src="https://www.github.com/" style="width:640px; height:480px"></webview>
|
||||
<webview id="foo" src="https://www.github.com/" style="display:inline-block; width:640px; height:480px"></webview>
|
||||
```
|
||||
|
||||
If you want to control the guest content in any way, you can write JavaScript
|
||||
|
|
Loading…
Add table
Reference in a new issue