html - 使用 Visual Studio Code,如何更改索引页面的高度和宽度大小?
问题描述
我目前正在尝试更改网页宽度,但无法这样做。如何使用 Visual Studio Code 做到这一点?
解决方案
如果您不想创建单独的 css 文件,可以为您的页面编写内联 css。
<body width ="write desired width"> </body>
举个例子
<body width ="100px"> </body>
推荐阅读
- python - 如何找到从第一个列表中选择一个项目和从第二个列表中选择最多 n 个项目的所有组合
- c - 在 Windows 上将 C 编译为 ELF32
- c++ - C++实现向量场
- javascript - 如何从数组对象中的对象获取随机属性?
- linux - 使用 bash 仅获取 linux 上的子网掩码号
- java - 我可以保证 HashMap 的 entrySet() 的这种排序吗?
- flutter - 如何使用flutter_blue发送数据?
- java - 在 Intellij 中为这个特定项目设置 JUnit
- r - 将纵向数据集重新排列为生命表
- postgresql - 出现错误:ValueError:不支持的格式字符:'('