![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hello experts, I am having trouble closing up the space between a title and a subtitle that needs to have a different style. I am usingCSS. Line spacing seems to work only on the vertical space between lines within a paragraph, not between paragraphs. This makes sense. I have tried putting each element in its own table cell, each with its own id, and playing with positive and negative margins and padding. If there is a combination that would work, I would be glad to hear it. At the moment my knowledge of margins and padding is based almost totally on trial and error, not on comprehension. My current work around is to keep the subtitle in the same paragraph, put in a line break, and the style the subtitle. That has given me a good result on my browser, but I'm not sure about other browsers. Also, work arounds me nervous about creating other problems I don't know about. Can anyone give me the right solution, or at least critique my work around solution? Many thanks so much in advance for help. Richard |
#5
| |||
| |||
|
|
Sorry it was so verbose. |

#6
| |||
| |||
|
|
Sorry it was so verbose. Your apology was more verbose than the solution you offered. ![]() p { margin:0; } Of course, this will affect every paragraph on the page...not just the ones containing the titles and subtitles...and they will have to have seperate style classes applied, as well. |
#7
| |||
| |||
|
|
We don't know really. |

![]() |
| Thread Tools | |
| Display Modes | |
| |