我点开很久之前的html文件,就显示红色了,看着很不舒服,百度了也没啥解决方法,代码肯定是没错的
就来csdn上面问问大家
vs code html代码没报错能运行,但是代码显示红色,怎么改回去呀
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答 默认 最新
- 土拨鼠1号 2021-12-03 15:15关注
Do not use this attribute, as it has been deprecated. The
element should be styled using CSS. Set margin-left and margin-right to auto or margin to 0 auto to achieve an effect that is similar to the align attribute.
Prior to Firefox 4, Firefox also supported the middle, absmiddle, and abscenter values as synonyms of center, in quirks mode only.原因是它被弃用了
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 2无用
悬赏问题
- ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
- ¥15 正弦信号发生器串并联电路电阻无法保持同步怎么办
- ¥15 划分vlan后,链路不通了?
- ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
- ¥15 个人网站被恶意大量访问,怎么办
- ¥15 Vue3 大型图片数据拖动排序
- ¥15 Centos / PETGEM
- ¥15 划分vlan后不通了
- ¥20 用雷电模拟器安装百达屋apk一直闪退
- ¥15 算能科技20240506咨询(拒绝大模型回答)