Forums
This topic is locked
How to reduce line space within a Cell.
Posted 10 Feb 2005 16:56:51
1
has voted
10 Feb 2005 16:56:51 Raul Raulito posted:
Hi,I am trying to reduce the amount of space between two lines of text within a cell.
Does anybody know how to do this? I have tried changing line height in the CSS Styles tab but this only allows me to increase the space and not reduce.
Any suggestions?
Cheers!.
Replies
Replied 10 Feb 2005 19:11:31
10 Feb 2005 19:11:31 Dave Thomas replied:
only allows you to increaes it?
you can type in any value you want to modify the css, and if the css tab wont let you, do it manually.
one way i like to take height away from text is to have my P tag set to 0 padding and 0 margin.
regards
Dave Thomas
<b>DMX Zone Manager</b>
you can type in any value you want to modify the css, and if the css tab wont let you, do it manually.
one way i like to take height away from text is to have my P tag set to 0 padding and 0 margin.
regards
Dave Thomas
<b>DMX Zone Manager</b>
Replied 10 Feb 2005 22:25:45
10 Feb 2005 22:25:45 Raul Raulito replied:
Hi thanks for the reply,...
But I still can't get to reduce the space between two lines of text:
"Id like to show the space between lines
like the space between these two lines"
"But instead it's giving me a space of
about this much"
I can't seem to reduce that space from editing CSS,..
Any suggestions!?
I am just a newbie!!
But I still can't get to reduce the space between two lines of text:
"Id like to show the space between lines
like the space between these two lines"
"But instead it's giving me a space of
about this much"
I can't seem to reduce that space from editing CSS,..
Any suggestions!?
I am just a newbie!!
Replied 10 Feb 2005 22:33:17
10 Feb 2005 22:33:17 Simon Martin replied:
Have you tried giving a negative line height?
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Replied 10 Feb 2005 22:38:25
10 Feb 2005 22:38:25 Raul Raulito replied:
Yes,... but negative numbers do not seem to be taken into account,...
Replied 10 Feb 2005 22:53:31
10 Feb 2005 22:53:31 Simon Martin replied:
what measurement are you working in?
px, ems ?
can you post up your CSS
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
px, ems ?
can you post up your CSS
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Replied 10 Feb 2005 23:12:14
10 Feb 2005 23:12:14 Dave Thomas replied:
<pre id=code><font face=courier size=2 id=code>
p {
font:10px/1.1em verdana, arial, helvetica, sans-serif;
margin:0px;
padding:0px;
}
</font id=code></pre id=code>
above will give font size of 10px, a line height of 1.1em (which = 11px), takes out padding and margin, that by defualt will set the whitespace between paragraphs.
so it will now act as if you had done shift+enter
regards
Dave Thomas
<b>DMX Zone Manager</b>
p {
font:10px/1.1em verdana, arial, helvetica, sans-serif;
margin:0px;
padding:0px;
}
</font id=code></pre id=code>
above will give font size of 10px, a line height of 1.1em (which = 11px), takes out padding and margin, that by defualt will set the whitespace between paragraphs.
so it will now act as if you had done shift+enter
regards
Dave Thomas
<b>DMX Zone Manager</b>
Replied 12 Feb 2005 21:09:38
12 Feb 2005 21:09:38 Raul Raulito replied:
Hi thanks for the replies!
Problem solved,... by hitting the shift key + Enter.
Problem solved,... by hitting the shift key + Enter.