【发布时间】:2013-10-22 05:34:56
【问题描述】:
我使用了django forms,我尝试了 Z-index 样式属性,但我无法得到解决方案。
这是代码:
<label class="radio">
<input id="id_myclass_only_1" type="radio" name="myclass_only"
{%if form.myclass_only.value == "1"%} checked {%endif%} value="1" /> Post to batch
{{ form.batch|idattr:id_batch }} only
</label>
这里{{ form.batch|idattr:id_batch }}会给出下拉列表。
【问题讨论】:
-
目前的形式无法回答;我们需要有最终的 CSS 和 HTML 才能可靠地提供帮助。
-
嗨,你能看到我你的代码吗,因为当看到你的代码时,最后会建议你。希望你能理解。
-
顺便提一下,如果
position是static(默认值),z-index不会做任何事情。 -
给我css和html,我可以帮忙。
-
是否可以建议我使用新的 css 文件