Kevin_M_Schafer
01-30-2012, 10:42 PM
Would anyone have an idea how to set the text line spacing for a css/html page so that regardless of what font size is used, the line spacing will stay the same? (the spacing would be set to accommodate the largest line of text -- the headline)
I am working on an experiment where I am importing an article with ssi and showing only about four lines of text. Among these lines are a headline, which is larger, a byline, and a couple lines of the article text. I would like to see how it would work to set the line spacing the same on all lines of text on an ssi page -- just for importing. A second style page will kick in when that page is clicked to read the rest of the article. Under normal circumstances, if a headline bumps to a second line, a line of article text can be split in half, as my div window is only about 66 pixels or so in height.
I have entered 62.5% for font size on my body element, and have been experimenting with ems instead of pixels.
Thanks.
--Kevin
.
I am working on an experiment where I am importing an article with ssi and showing only about four lines of text. Among these lines are a headline, which is larger, a byline, and a couple lines of the article text. I would like to see how it would work to set the line spacing the same on all lines of text on an ssi page -- just for importing. A second style page will kick in when that page is clicked to read the rest of the article. Under normal circumstances, if a headline bumps to a second line, a line of article text can be split in half, as my div window is only about 66 pixels or so in height.
I have entered 62.5% for font size on my body element, and have been experimenting with ems instead of pixels.
Thanks.
--Kevin
.