0

I want to create a form in which I can add html elements in vertical and horizontal position, and those elements should be connected by lines. Fo example enter image description here Please help me. Thanks.

2 Answers 2

1

About the lines: under what I wrote before add a div

<div style="width:1000px;border-top:solid 1px gray;position:absoulte;top:-40px;"></div>

add lines as needed. top:40px is only an example, fit the right px you need. If it does not work get back to me.

Sign up to request clarification or add additional context in comments.

Comments

0

Use flex. for examle if you want to have 4 inputs in a row:

<div style="display:flex;justify-content:space-around">
<input style="flex-basis:22%"/>
<input style="flex-basis:22%"/>
<input style="flex-basis:22%"/>
<input style="flex-basis:22%"/></div>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.