|
Posted by TK on June 11, 2008, 4:14 pm
Please log in for more thread options Els wrote:
> TK wrote:
>
>> I added another page which shows the problem a little more clearly.
>> http://www.coachksstrings.com/tennisgifts1a.php contains items number 10
>> to 12 with and without bold (I wish I had not shown her how to do that).
>
> You could be sneaky and set this in the stylesheet ;-)
> b{font-weight:normal !important;}
Today is my forty first wedding anniversary - following advice like that
probably will not get me through another 41 years ;-)
>
>> I did try p {line-height: 2em} which gave the same result. Wait, are
>> you saying to set the line-height for bold/normal text to different
>> values? That would eliminate some of the problems. I will play with that.
>
> I didn't mean that actually - but it might be what is needed :-)
> But it won't solve the problem with the text wrapping differently and
> therefore creating more lines in items that appear before others.
>
> When your wife is adding these items, could she perhaps add a class to
> the divs as well? I'm thinking of classes like "lines2", "lines3",
> "lines4" etc., based on how many characters. Or you could add them
> dynamically, if possible. You could then set a (min-)height in ems for
> those classes, in which of course you need to take into account one
> extra line for the badly wrapped ones.
>
At my current level of understanding, it would be much easier to
manually adjust the words that code that.
thanks,
--
TK
http://wejuggle2.com/ Still Having a Ball
|