How to right-align images in HTML tables
P粉555696738
P粉555696738 2023-09-02 09:04:11
0
1
523

I have made a Django website and want to display my results like a little form at the top. There is a table on the left and I want to add two pictures and another column to the table on the right. I have designed a diagram to explain better - Enter image description here

Now I have written the code for Form 1 and the table. I also write backend code. I want to know how to write the html code for the image and form 2 since they are on the right side of the form. Just write any html code and it will appear below the table. Can anyone help adding a picture and form 2 to the right side of the table?

My current html code is-

*{% extends 'login/basic.html' %} {% block title %}Approval of count{% endblock title %} {% block body %}  
{% csrf_token %}
User name Starting Ending Bonus
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
{% endblock %}

任何改进我的html代码的建议都将非常有帮助,如果有任何html错误,请忽略。

P粉555696738
P粉555696738

reply all (1)
P粉327903045

Try using CSS properties, specifically position:absolute or position:fixed. 'https://sbgsdjango.herokuapp.com/English', this website is a demo for you, no

is required
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!