@KeveyMar 06.2006 — #Look at it another way (this is the same as Bon Rouge's suggestion):
[CODE] <html><head><style> p { margin-bottom:5px;margin-top:0px; }</style></head> <body> <p>This is a test</p> <p> this is test 2</p> </body></html>[/CODE]
Is this what you need? Try adjusting the values for the margin-bottom to see if it does what you want. I couldn't make them appear right next to eachother, but closer together than a normal <p> would be.
@WebJoelMar 06.2006 — #to decrease or increase any 'space' between lines in any text add this to your <p> style,
line-height:15px
or whatever 'height' you want. This reduces/increases the distance between lines(sentences) in paragraphs. If you overdo it though, you'll sacrifice your baseline, meaning that letters with 'tails' like "y" will get cut-off and look more like a "v".... Is this what you mean ?
@NogDogMar 06.2006 — #to decrease or increase any 'space' between lines in any text add this to your <p> style,
line-height:15px
or whatever 'height' you want. This reduces/increases the distance between lines(sentences) in paragraphs. If you overdo it though, you'll sacrifice your baseline, meaning that letters with 'tails' like "y" will get cut-off and look more like a "v".... Is this what you mean ?
-Joel[/QUOTE] Caution: using a fixed amount like "15px" for line-height is generally not a good idea: if the user increases their font size, you risk having lines of text overlap. A better solution is to use a relative value, such as "1.3em".
@WebJoelMar 07.2006 — #Caution: using a fixed amount like "15px" for line-height is generally not a good idea: if the user increases their font size, you risk having lines of text overlap. A better solution is to use a relative value, such as "1.3em".[/QUOTE]
Actually yeah, -I went and looked that up after writing the above, and realized that using "pixels" was not such a good idea for line-height spacing, and for the reason you just stated. ? Mostly I said that ("pixels") to point out that one could 'cut off' the baseline of certain alphabeic characters without giving any thought to user-fontsize problems to further mess things up...