HTML input field alignment [closed] - html

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 11 months ago.
Improve this question
How do you align input fields without using css or anything advanced? the first image is the required output and the second one is my output
i tried adding a bunch of spaces using &nbsp but it didnt seem right and the code looekd untidy

You can use a traditional html table and set the border to zero.
<table border="0">
...
</table>

Related

How to make <li> bullet show at the top of its content instead of the bottom? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I was just wondering if there's a quick and easy way to make an <li> bullet show at the top of its content instead of the bottom. This is just a simple <ul> with 4 <li>'s. See picture below for reference.
Screenshot
HTML snippet
I figured it out! I just need to add the d-block bootstrap class to the label to override the default display-inline-block CSS of the label.

why when i gave maring auto, my buttons displays under each other [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have some buttons,i gave them margin auto and display:block. when i run it, margin auto runs correctly but buttons show under each other . can some one help me to solve this problem?
If you want the buttons centered but next to each other, wrap them in a div and put margin:auto on the wrapping div.

HTML / CSS unwanted margin [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I'm currently working on a nodejs / socket.io project. Somehow there's a margin ontop aligned, which is pushing the UI down. I can't seem to get rid of.
Does someone have a idea, what could cause this?
Link to the preview: http://pr0b.com:2000/
The username & password to authenticate are assigned so you guys could have a look.
Link to the screenshot
Code which is causing the problem:
<div id="belowGame">
<div id="chat-text"></div>
<form id="chat-form">
<input type="text" id="chat-input"></input>
</form>
</div>
This issue which was causing the overflow was the display: inline-block which was added to the .gameDiv. Simply remove this CSS rule and you will get what you've asked for.

<a> tag starts a new line with overflow: hidden [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I wanted to know if there is a way to prevent a <a> tag from taking 2 line. I have put it in a <span> and I have set the overflow to hidden and text-overflow to ellipsis and the final result is the link being cut with '...' at the end, but the rest of the link starts a new line under it. is there a way to just end the link with '...' and ignore the rest?
This should do it.
a{white-space:nowrap}

Add white space below a table on a page [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I appreciate that this question has been asked many times but nothing I have looked at has helped me.
Basically, I have a basic table. All I want is to have a bit of white space UNDER the last table (Other Important Pages) but I can't seem to accomplish this.
See here: http://chrisbrighton.co.uk/SiteMap.php
Any suggestions?
Thanks.
Add a bottom margin to the table.
Text Before Table
<table STYLE="margin-bottom: 30px;"><tr><td>Text In Table</td></tr></table>
Text After Table
Add overflow:auto to your #page-container div.
You can add <br /> tags between the tables or add margin-bottom: XXpx to the styling.