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:
Sam Eaton 2015-06-09 21:51:10 -06:00
parent 8aa815e6d1
commit 2ee6e43fb3

View file

@ -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