Knowledge (XXG)

Template:Pad

Source 📝

21: 52: 394: 122:(other CSS units – in, cm, pc, pt – are supported as well, but not recommended, typically at 96dpi conversion ratio). The default is 665: 136: – at 100% font size (8pt), typically 3px wide in narrow fonts like Arial and Tahoma, 4px in wider fonts like Arial Black and Verdana). 653: 36: 635: 705: 689: 649: 403: 380: 32: 364:
Note: 1em is typically 11.2px at 100% font size (8 point), 21.3px at 200% font size (16 point), and 32px at 300% font size (24pt).
442: 387: 519: 40: 552: 618: 68: 72: 420: 660: 508: 64: 497: 431: 133: 639: 76: 685: 643: 28: 596: 486: 112: 699: 574: 475: 585: 453: 226:
1492–1540 Exploration by<br/>{{hidden text|1492–1540}} Columbus & others.
541: 464: 59: 104:
inline. The template takes one unnamed parameter; a width value specified in
372: 15: 277:
1111–1117 Exploration by<br/>{{hidden text|9999–9999}} Explorer Bob.
118: 196:
Width of a typical year-range in Arial font (4.8em plus an &nbsp;):
201:
1492–1540 Exploration by<br />{{pad|4.8em}}Columbus & others.
176:
Indenting 50px causes<br />{{pad|50px}}this amount of space.
106: 63:
and changes may be widely noticed. Test changes in the template's
376: 252:
1111–1117 Exploration by<br />{{pad|4.4em}}Explorer Bob.
159: 46: 130:
The result is the specified padding followed by an &nbsp;
171:
Indenting by 50 pixels plus an &nbsp; (53px in Arial):
677: 669: 298:
Spacing is, of course, different between fonts, too:
247:
However, some digits supposedly require less space:
564: 531: 410: 276: 225: 388: 8: 338:and this is indented by 100px + 1 &nbsp; 308:and this is indented by 100px + 1 &nbsp; 353:and this is indented by 100px+ 1 &nbsp; 323:and this is indented by 100px+ 1 &nbsp; 659:Editors can experiment in this template's 395: 381: 373: 358:and this is indented by 9em + 1 &nbsp; 343:and this is indented by 9em + 1 &nbsp; 328:and this is indented by 9em + 1 &nbsp; 318:This is text 0123456789 in Times New Roman 313:and this is indented by 9em + 1 &nbsp; 348:This is text 0123456789 in Lucida Console 333:This is text 0123456789 in Arial Black 153: 145: 100:to insert a horizontally padding HTML 75:. Consider discussing changes on the 7: 101: 14: 303:This is text 0123456789 in Arial 50: 19: 60:approximately 59,000 pages 1: 411:Non-breaking space characters 221:This is better produced by: 722: 633: 690:Subpages of this template 532:Breaking space characters 79:before implementing them. 71:subpages, or in your own 58:This template is used on 706:Inline spacing templates 404:Inline spacing templates 288:1111–1117 Exploration by 263:1111–1117 Exploration by 237:1492–1540 Exploration by 212:1492–1540 Exploration by 684:Add categories to the 217:Columbus & others. 24:Template documentation 443:narrow no-break space 242:Columbus & others 192:this amount of space. 187:Indenting 50px causes 565:Non-character spaces 158:optional additional 272:But actually not: 134:non-breaking space 630: 629: 520:zero width joiner 83: 82: 713: 681: 673: 657: 644:Template:Pad/doc 623: 617: 612: 606: 601: 595: 590: 584: 579: 573: 557: 553:zero width space 551: 546: 540: 524: 518: 513: 507: 502: 496: 491: 485: 480: 474: 469: 463: 458: 452: 447: 441: 436: 430: 425: 419: 397: 390: 383: 374: 359: 357: 352: 344: 342: 337: 329: 327: 322: 314: 312: 307: 292: 278: 267: 253: 241: 227: 216: 202: 191: 177: 155: 147: 125: 121: 115: 109: 103: 99: 93: 54: 53: 47: 44: 25: 23: 22: 721: 720: 716: 715: 714: 712: 711: 710: 696: 695: 694: 693: 683: 675: 663: 658: 647: 632: 631: 626: 621: 619:two pixel space 615: 610: 604: 599: 593: 588: 582: 577: 571: 560: 555: 549: 544: 538: 527: 522: 516: 511: 505: 500: 494: 489: 483: 478: 472: 467: 461: 456: 450: 445: 439: 434: 428: 423: 417: 406: 401: 371: 355: 354: 350: 349: 347: 340: 339: 335: 334: 332: 325: 324: 320: 319: 317: 310: 309: 305: 304: 302: 297: 290: 289: 265: 264: 251: 246: 239: 238: 232:Which produces: 214: 213: 200: 189: 188: 175: 169: 150:size of padding 142: 123: 117: 111: 105: 97: 91: 88: 51: 45: 26: 20: 18: 12: 11: 5: 719: 717: 709: 708: 698: 697: 674:and testcases 628: 627: 625: 624: 613: 602: 591: 580: 568: 566: 562: 561: 559: 558: 547: 535: 533: 529: 528: 526: 525: 514: 503: 492: 481: 470: 459: 448: 437: 426: 414: 412: 408: 407: 402: 400: 399: 392: 385: 377: 370: 367: 361: 360: 345: 330: 315: 295: 294: 280: 279: 270: 269: 255: 254: 244: 243: 229: 228: 219: 218: 204: 203: 194: 193: 179: 178: 168: 165: 164: 163: 156: 154:|css= 151: 148: 141: 138: 87: 84: 81: 80: 55: 17: 16: 13: 10: 9: 6: 4: 3: 2: 718: 707: 704: 703: 701: 691: 687: 679: 671: 667: 662: 655: 651: 645: 641: 637: 636:documentation 620: 614: 609: 603: 598: 592: 587: 581: 576: 570: 569: 567: 563: 554: 548: 543: 537: 536: 534: 530: 521: 515: 510: 504: 499: 493: 488: 482: 477: 471: 466: 460: 455: 449: 444: 438: 433: 427: 422: 416: 415: 413: 409: 405: 398: 393: 391: 386: 384: 379: 378: 375: 368: 366: 365: 346: 331: 316: 301: 300: 299: 293:Explorer Bob. 287: 286: 285: 284: 275: 274: 273: 268:Explorer Bob. 262: 261: 260: 259: 250: 249: 248: 236: 235: 234: 233: 224: 223: 222: 211: 210: 209: 208: 199: 198: 197: 186: 185: 184: 183: 174: 173: 172: 166: 161: 157: 152: 149: 144: 143: 139: 137: 135: 131: 127: 120: 114: 108: 96: 85: 78: 74: 70: 66: 62: 61: 56: 49: 48: 42: 38: 34: 30: 622:}} 616:{{ 611:}} 607: 605:{{ 600:}} 594:{{ 589:}} 583:{{ 578:}} 572:{{ 556:}} 550:{{ 545:}} 539:{{ 523:}} 517:{{ 512:}} 506:{{ 501:}} 495:{{ 490:}} 484:{{ 479:}} 473:{{ 468:}} 462:{{ 457:}} 451:{{ 446:}} 440:{{ 435:}} 429:{{ 424:}} 421:figure space 418:{{ 363: 362: 296: 282: 281: 271: 257: 256: 245: 231: 230: 220: 206: 205: 195: 181: 180: 170: 146:|1= 129: 128: 102:<span> 98:}} 94: 92:{{ 89: 73:user subpage 57: 640:transcluded 509:word joiner 39:] [ 35:] [ 31:] [ 634:The above 498:thin space 432:hair space 140:Parameters 69:/testcases 688:subpage. 291:9999–9999 283:Produces: 258:Produces: 240:1492–1540 207:Produces: 182:Produces: 77:talk page 700:Category 369:See also 167:Examples 65:/sandbox 668:| 661:sandbox 654:history 652:| 37:history 682:pages. 678:create 597:indent 487:spaces 356:  351:  341:  336:  326:  321:  311:  306:  266:  215:  190:  642:from 124:1.0em 86:Usage 43:] 41:purge 27:[ 686:/doc 670:diff 666:edit 650:edit 575:gaps 476:quad 162:code 90:Use 33:edit 29:view 638:is 608:pad 586:in5 454:nb5 160:CSS 116:or 95:pad 67:or 702:: 646:. 542:sp 465:ns 126:. 119:ex 113:em 110:, 107:px 692:. 680:) 676:( 672:) 664:( 656:) 648:( 396:e 389:t 382:v 132:(

Index

view
edit
history
purge
approximately 59,000 pages
/sandbox
/testcases
user subpage
talk page
pad
px
em
ex
non-breaking space
CSS
v
t
e
Inline spacing templates
figure space
hair space
narrow no-break space
nb5
ns
quad
spaces
thin space
word joiner
zero width joiner
sp

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.