首页 > 解决方案 > 使用 Visual Studio Code,如何更改索引页面的高度和宽度大小?

问题描述

我目前正在尝试更改网页宽度,但无法这样做。如何使用 Visual Studio Code 做到这一点?

标签: htmlcss

解决方案


如果您不想创建单独的 css 文件,可以为您的页面编写内联 css。

<body width ="write desired width"> </body> 

举个例子

<body width ="100px"> </body> 

推荐阅读