What does auto do in margin 0 auto

0 votes
What does auto do in margin: 0 auto;?

I can't seem to understand what auto does. I know it sometimes has the effect of centering objects.
Jul 11, 2022 in CSS by Edureka
• 13,620 points
306 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In CSS

0 votes
0 answers

What Does 'zoom' do in CSS?

I saw that certain jQuery plugins utilize ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,620 points
292 views
0 votes
0 answers

what do css classes like my-2, my-lg-0, mr-sm-2 do in bootstrap 4?

I've read through other queries and the ...READ MORE

Aug 18, 2022 in CSS by Edureka
• 13,620 points
1,239 views
0 votes
1 answer

What does !important mean in CSS?

The CSS! important rule is used to ...READ MORE

answered Jun 1, 2022 in CSS by Edureka
• 12,690 points
623 views
0 votes
0 answers

CSS reset - What exactly does it do?

This reset.css file was hidden inside a ...READ MORE

Jun 23, 2022 in CSS by Edureka
• 13,620 points
574 views
0 votes
1 answer

How do I center this form in css?

You can try form { ...READ MORE

answered Jun 10, 2022 in CSS by Edureka
• 12,690 points
637 views
0 votes
1 answer

What does flex: 1 mean?

If an element has flex: 1, it ...READ MORE

answered Jun 17, 2022 in CSS by Edureka
• 12,690 points
15,711 views
0 votes
1 answer

When to use margin vs padding in CSS ?

MARGIN vs PADDING : Margin is used in an element to ...READ MORE

answered Jun 28, 2022 in CSS by Edureka
• 12,690 points
378 views
0 votes
0 answers

How do negative margins in CSS work and why is (margin-top:-5 != margin-bottom:5)?

A common trick for vertical positioning elements ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,620 points
849 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
10,368 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP