html - 我正在使用 django 清脆的表单我如何更改此文本以从顶部开始并在行满时到达下一行
问题描述
所以伙计们,我的网站现在看起来像这样。
这里是网站!如果你没有从标题中,你肯定会明白我的问题,
HTML
{% load crispy_forms_tags %}
<div class="row">
<div class="col-md-6 offset-md-3" id="ada">
<h3>Makale Ekle</h3>
<hr>
<form method = "post">
{% csrf_token %}
{{form|crispy}}
<br>
<button type = "submit" class = "btn btn-danger">Ekle</button>
</form>
</div>
</div>
CSS
body {
background: rebeccapurple;
font-family: Arial, Helvetica, sans-serif;
}
#ada {
margin: auto;
margin-top: 100px;
padding-top: 5rem;
padding-bottom: 5rem;
border: 5px solid rgb(49, 2, 68);
background-color: purple;
border-radius: 5%;
}
h3 {
font-size: 2rem;
color: white;
}
label {
color: white;
}
input {
width: 800px;
margin-bottom: 1.2rem;
size: 2rem;
border: 3px solid purple;
text-align: justify;
}
input[name="context"] {
height: 10rem;
padding: 20px 10px;
line-height: 28px;
}
所以伙计们,我认为我错过了一些简单的事情。我试图通过在 CSS 中添加一些代码来解决它,但它肯定不起作用。
解决方案
推荐阅读
- c - 在c中递归拆分数组
- tensorflow - 如何检查训练或测试数据是否已初始化?
- mongodb - Testsaslauthd:Ubuntu 机器中的 Connect() 连接被拒绝
- android - 如何使用recyclerview单击项目操作为片段容器编写浓缩咖啡测试用例
- python - 将 pandas DataFrame 转储到 SQL 语句
- node.js - 获取 razorpay 付款详细信息
- php - Symfony:不断收到有关缺少翻译的通知
- django - 找不到 Django CKEditor 404 图像
- google-cloud-dataflow - GoogleCloudOptions 没有所有选项
.options 有 - python - 如何使用 tkinter 设置 MessageBox 的位置