1
4
实际上 是 这类事情的一些标准公式。
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... 两次。 Colin Wheildon小册子/书 沟通或只是做出漂亮的形状 has some excellent advice for laying out typography and images. It's largely oriented toward print, but most of the same principles still apply. |
2
1
您是否考虑过使用CSS框架,例如:
my favourite is definitly blueprint, its not too bloated like YAML or YUI and gives you a perfect start for a new project. as far as i know it adds an 1.5em padding to boxes and such things. furthermore its easy adaptable. 看一看: |
3
0
It's hard to give you a general answer because the general look of the page influences this choice. How much text density? How much white space? How many columns? How many images in one page? 等。 I think you should experiment yourself and you will quickly find your own typical padding size or range which you can start with and tinker on a per project basis. Just have a look at Jakob Nielsen's web site. I don't care what his caliber is, you don't want to get aesthetics guidance from him. Of course a lot of his usability advice is valuable but take it all with a grain of salt. |
user7907740 · 如何使填充响应 6 年前 |
J.Doe · 添加可能包含“None”项的数组 6 年前 |
Hybrid24 · 如何按可变数量填充阵列? 6 年前 |
theebugger · 如何在CSS中使图像显示在元素的填充区域上? 6 年前 |
Jean Jacquemier · Apache箭头、对齐和填充 6 年前 |
user8395760 · 底板滑动非常缓慢 7 年前 |
Nero · Javafx:填充线 7 年前 |