i want to write text in a layer.
but i want the new line should be close to the next line.
like :
TEXT1
TEXT2
there should not be much distance between TEXT1 and TEXT2.
How do i position them ?use padding
div{
padding-left:10px;
padding-top:10px;
padding-right:10px;
padding-bottom:10px;
}p { margin:0 }This worked for me!
<style type="text/css">
p.small {line-height: 0.4cm}
p.big {line-height: 0.9cm}
</style>http://www.w3schools.com/css/tryit.asp?filename=trycss_line-height
but i want the new line should be close to the next line.
like :
TEXT1
TEXT2
there should not be much distance between TEXT1 and TEXT2.
How do i position them ?use padding
div{
padding-left:10px;
padding-top:10px;
padding-right:10px;
padding-bottom:10px;
}p { margin:0 }This worked for me!
<style type="text/css">
p.small {line-height: 0.4cm}
p.big {line-height: 0.9cm}
</style>http://www.w3schools.com/css/tryit.asp?filename=trycss_line-height