![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a way I can have the browser automatically insert a blank line after each definition in a definition list? |
#3
| |||
| |||
|
|
Is there a way I can have the browser automatically insert a blank line after each definition in a definition list? Right now I have this: term-1 definition text .... term -2 definition text ... I'd like to have this: term-1 definition text .... term -2 definition text ... But I want to do it without manually putting a blank line after each "definition text". |
#4
| |||
| |||
|
|
.oO(Timur Tabi) Is there a way I can have the browser automatically insert a blank line after each definition in a definition list? Sure. Use CSS to adjust the bottom margin of the 'dd' elements: dd {margin-bottom: 1em} |
#5
| |||
| |||
|
|
Is there a way I can have the browser automatically insert a blank line after each definition in a definition list? Right now I have this: term-1 definition text .... term -2 definition text ... I'd like to have this: term-1 definition text .... term -2 definition text ... But I want to do it without manually putting a blank line after each "definition text". |
#6
| |||
| |||
|
|
You could use margin-bottom: 1.12em since that's normally what's used in browser default stylesheets to approximate the height of one line. It doesn't make much difference though. |
#7
| |||
| |||
|
|
Is there a way I can have the browser automatically insert a blank line after each definition in a definition list? |
#8
| |||
| |||
|
|
And you don't need to make guesses on the line height, because you can set it (it's healthy anyway; the specific value should depend on the font characteristics): |
|
A full blank line might be a little too much, though. |
#9
| |||
| |||
|
|
A full blank line might be a little too much, though. I wonder why the idea of a baseline grid is so alien to web typography. But I don't even know if I disagree. :-) |
#10
| ||||
| ||||
|
|
Scripsit Eric B. Bednarz: I wonder why the idea of a baseline grid is so alien to web typography. But I don't even know if I disagree. :-) Probably because web typography, to the extent that it exists, is not oriented towards presenting a document on paired sheets of paper, where the grid is relevant. |
|
And how _could_ you make an image |

|
or a table, for example |
|
|| hexadecimal EBB o-o decimal 3771 |
![]() |
| Thread Tools | |
| Display Modes | |
| |