![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
As heading. When using paddings I find myself using very small figures, 3px and so on. I could use 0.2em or similar, but is it worth it? Do you pad with px or em? |
|
Thinks... padding with em means the padding gets bigger as the text does, meaning less space for the now bigger text to fit in to. |
|
I think it must remain at PX. |
#3
| |||
| |||
|
|
If padding is in em units, it will expand with text resizing. If in px units, it will not change, and the text will spill out of the box. |
|
Generally, use px only for borders, and image sizing. Use em for everything else. |
#4
| |||
| |||
|
|
As heading. When using paddings I find myself using very small figures, 3px and so on. I could use 0.2em or similar, but is it worth it? Do you pad with px or em? Thinks... padding with em means the padding gets bigger as the text does, meaning less space for the now bigger text to fit in to. I think it must remain at PX. |
#5
| |||
| |||
|
|
Mike Barnard wrote: As heading. When using paddings I find myself using very small figures, 3px and so on. I could use 0.2em or similar, but is it worth it? Do you pad with px or em? Thinks... padding with em means the padding gets bigger as the text does, meaning less space for the now bigger text to fit in to. I think it must remain at PX. Methinks you have it backwards there. If padding is in em units, it will expand with text resizing. If in px units, it will not change, and the text will spill out of the box. |
#6
| |||
| |||
|
|
As heading. When using paddings I find myself using very small figures, 3px and so on. I could use 0.2em or similar, but is it worth it? Do you pad with px or em? Thinks... padding with em means the padding gets bigger as the text does, meaning less space for the now bigger text to fit in to. I think it must remain at PX. I've typed this now, so I'll post it anyway. Comments? Mike. |
![]() |
| Thread Tools | |
| Display Modes | |
| |