margin

Why do I need a negative margin and a positive padding in bootstrap?

Bootstrap'om rarely used, somehow did not delve into these positive and negative indents of blocks. Tell me, why is there ... itive padding in the .container block, and a negative margin in the .row block? What is the practical use of these indents?

How do I add margin or padding for ImageView in JavaFX using code (not FXML)?

I want to add a white border around the ImageView. One solution is to use a Button. Tried using StackPane: StackPane st ... he image goes beyond the StackPane. What is the reason for this? Is there another option to make a border around the image?

differences in the use of positioning and margin

From the moment I learned about positioning in css, the difference between indenting with margin(1) and top\right\bottom\left ... s like: top: 0; left: 0; And then it will be "nailed" to the upper left the edge. The question is when which tool to use?

why doesn't margin work?

I'm just starting to learn how to work with sites, I'm faced with the problem of centering the site itself in the center , I ... ediately set the width and center alignment of the site in % I look forward to help, and I would love to learn from someone!

Make the background image centered and full screen

How do I make a background image centered and full-screen??? And to have the content in the middle, like a header? At first I ... квартиры в центре города и в 5 минутых от р. Волга</p> </div> </section> </body> </html>

Incorrect datepicker display

The situation is as follows. There is a datepicker that has 2 dropdown options: above the form and below it. The task is ... block is initially positioned absolutely and hidden. When it appears, the coordinates are counted through the datepicker.

What is the difference between padding and margin in CSS?

From what I understand I see an indentation with respect to another element when the properties left, top, right e bottom. ... between margin and padding in CSS? An answer with examples (images or code) would help a lot in understanding the question.

2 simple columns with bootstrap

I have a simple question about bootstrap. Maybe I lack a little insight to understand the case. I even have some mastery over ... be repeated in several parts I can not leave the css much far-fetched... so: what is the best way to do this using bootstrap?

How to center and position two images side by side? html css

HTML: <div id="ladoalado"><img src="imgs/login.png"><img src="imgs/cadastro.png"></div> CSS: #ladoalado{ float: left; margin: auto; } Code image:

How do I place margin between an image and a list in HTML?

I tried this, but the sorted list keeps pasting the image ol { margin-left: 5px; } figure { margin-left: auto; margin-right: 20px; }