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

  • SEARCH
  • Home
  • 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 899129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:10:00+00:00 2026-05-15T15:10:00+00:00

I have a simple problem: I have an image inside of a div. In

  • 0

I have a simple problem:

  • I have an image inside of a div.
  • In order to make the page more aesthetically pleasing, I’m going to add some additional padding to the image.

Rather than eyeball it, I’d like to know:

Are there any CSS padding heuristics that I can follow?

I was thinking that somebody of Jakob Nielsen’s caliber might have established some best practices about page layout and padding (i.e. minimum pixel padding or proportionality).

  • I’m not claiming that this is an especially difficult problem to solve.
  • But it’s a problem that will likely come up again.
  • And I’d like some heuristics to guide my padding choices in the future.

Any help would be appreciated.

  • 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-05-15T15:10:00+00:00Added an answer on May 15, 2026 at 3:10 pm

    There actually are some standard formulas for this kind of thing.

    1. The law of thirds. When in doubt, split it into three parts. Divide by three until you get to something reasonable.
    2. The Golden Ratio – this is a little tougher, and you really need a program like Golden Section in order to pull it off correctly, but the basic idea is that your padding should be some multiple of the Golden ratio. The Golden Ratio is ((a+b)/a) = (a/b)) or about 1.618.
    3. The A4 ratio. I don’t know what this one is called – but it’s 1.414 it’s the ratio of a sheet of A4 paper.
    4. Almost any ratio will make your grid look balanced if you stick to it.

    If your image is 100 pixels wide, you divide by the golden ratio until you get something that’s not WAY to big.

    So golden ratio numbers for 100 pixels are 62, 38, 24, 15, 9, 6, 4, 3, 2, 1. In ems you can use fractional widths, so you wind up with 14.5, 9, 5.6 etc.

    em units are a function of the width of your “m” in the font, so in CSS they can change throughout the page.

    The “measure” is the width of line of text. You want your measure to be less than 2 to 2.5 alphabets. (You measure an alphabet by typing the abcdefg… twice.)

    The Colin Wheildon brochure / book Communicating or Just Making Pretty Shapes has some excellent advice for laying out typography and images. It’s largely oriented toward print, but most of the same principles still apply.

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

Sidebar

Related Questions

I have the following simple button with an image as the template. The problem
my problem is simple , i have a div with a onmouseout property with
I have created a simple JSF image browsing app, and I'm having a problem
I have a simple html page/app with all of the common meta:og tags. PROBLEM:
I have a simple problem when querying the SQL Server 2005 database. I have
i have very simple problem. I need to create model, that represent element of
I have a simple problem that i cannot solve. I have a dictionary: aa
I have a simple problem but I am not sure how to solve it.
I have a simple problem but no matter what I try I can't see
I have a very simple problem which requires a very quick and simple solution

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.