我使用 HTML 和 Django 来创建一个 Web 应用程序。我需要将 div 放在屏幕的右侧。它正在这样做,但它低于其他小部件。它看起来像这样:
我圈出的地方是div所在的位置,但它需要在顶部的右侧。
这是我的 HTML 文件:
{% load static %}
{% load crispy_forms_tags %}
{{object.destination}} in {{trip_length}} days
{% block content %}
{{object.destination}} in {{trip_length}} days
Find Places
Find Hotels
{% if place_results_name %}
{{place_results_name}}
Place description...
{% endif %}
{% endblock %}
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号