Text line height value
Autor: Huveneers A.
Visitado 4047,
Followers 2,
Compartido 58
How do you change the spacing between the lines of text in a text cell? Spacing is too large and I need to reduce the line spacing.
Publicado en
Hi, actually the line-height is fixed. This is due to the fact that this value is correctly rendered in all the browsers. If you change it, using CSS, the risk could be to have a different height for the whole Text Object and, obiously, for the page layout.
Sorry for the cross-posting, but very keen to get this sorted out.
My old site (under X5 version 8) rendered line spacings correctly in Firefox 6, Explorer 9, Opera 11, Chrome 14, Safari 5, and Lunascape 6. Moving my site over (to X5 version 9) has increased line spacing for all text constained in text boxes, and there is now far too much white space between lines of text when the site is viewed in the preview screen, and in all these test browsers. Apart from implementing page by page css , is there a site-wide fix to restoring (reducing) my line spacings?
Hello Steven,
I've answered you here: http://answers.websitex5.com/post/2735#4
Hi Claudio,
this change is really worst and effects all concepts of my created Websites! Ok, I can make changes in the CSS-File of each page, but it would be overwritten each time I make an update. Is it possible to change this value in the WebSiteX5 configuration file?
Hi Knut,
Actually the line-height can't be changed. I've explained why here: http://answers.websitex5.com/post/2735#4
The fact that the line height cannot be changed is a real issue - a big problem. The article you have cited at http://answers.websitex5.com/post/2735#4 (see also http://www.smashingmagazine.com/2011/10/07/16-pixels-body-copy-anything-less-costly-mistake/) talks about text copy being set at 16pts, which is likely to work well with the large line height in X5 version 9. If I cannot compress line heights, I have masses of reworking to do to get my site looking like I need.
What is the line height, font and font size in this post?
Hello Steven,
The line height cannot be changed in v8 too. It was fixed like in v9.
In these posts the line height is 1.4em (it means 1.4 times the font size, just like in the sites created with v9). The font used is Trebuchet MS at 1em (about 14px).
Your answers here appear to me like " don't give a damn". This problem has arisen for me just 1 week after purchasing the product.
Here is a potential kluge
Form the text in a graphics file and bring it into your page as a picture
Gerry, we had to do like this to get a better compatibility between browsers. As we had to raise the line-height, we decided to do it as almost all the webdesigners do in these days: keeping the line-height between 1.4 and 1.5 times the font size.
We'll not reduce it because this will cause a lot of other issues, such misaligned lines between FF and IE.