gpt4 book ai didi

html - 尽管设置了背景颜色,但 div 中的背景颜色没有改变

转载 作者:太空宇宙 更新时间:2023-11-04 02:27:55 25 4
gpt4 key购买 nike

我觉得我要疯了,这是简单的事情,但它就是拒绝工作,我已经做了一百万次(尽管已经有一段时间了。)

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<style type="text/css">
title {
background-color: #000000;
float: left;
margin: 5px;
padding: 15px;
overflow:auto;
}
</style>
<body>
<div class="title">
<p>
<img src="images/new/Salon.jpg" width="530" height="180" style="" border="0" />
</p>
</div>
</body>
</html>

背景颜色没有改变,这就是我目前编写的所有代码

最佳答案

你写的

title {

代替

.title {

关于html - 尽管设置了背景颜色,但 div 中的背景颜色没有改变,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37037952/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com