Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8031371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:05:01+00:00 2026-06-05T01:05:01+00:00

padding:45px 65px 95px; Why is it that the shorthand above would set the LEFT

  • 0
padding:45px 65px 95px;

Why is it that the shorthand above would set the LEFT padding to 65px when a value for the left padding was not even given?

This is a little confusing to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T01:05:02+00:00Added an answer on June 5, 2026 at 1:05 am

    It is indeed confusing, but it’s just the was CSS works. If you specify 1 value, it will be used for all four sides. If you specify two, the first will be the top/bottom padding and the second will be left/right. So when specifying three, it goes top, left/right, bottom, echoing the usage for when only two values are provided.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this HTML/CSS code ( JSBin ): .trackTime{width:50px; text-align:left; float:left;} .trackInputTime{width:45px; height:22px; background-color:#F4F4F4;}
When I set a padding for div .detalhes, the .detalhes box expand over the
I am trying to add padding-right to an input so that I can place
H1 tag still has a padding or margin on the bottom even though none
This menu is not working in any IE version. How can I get it
I'm using theme that have build-in Portfolio tab in the admin panel. this theme
<asp:UpdatePanel runat=server> <ContentTemplate> <div style=padding: 0px 45px 0px 45px> <asp:FormView ID=fvAccounts runat=server DataKeyNames=AccountId DataSourceID=edsAccounts
When i am applied padding:10px to the child div which have the height 100%
I have padding to the right of my archives and search page and I
is -negative margin or padding are invalid CSS aaccording to W3C ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.