RE: Variable Amount of text in a Fixed Size Box

2010-06-01 Thread Bobby Hartsfield
s, life would be too easy :-) -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Tuesday, June 01, 2010 12:06 AM To: cf-talk Subject: Re: Variable Amount of text in a Fixed Size Box > Client configured fonts are a PAIN in these situations. Plus you have to > account for HTM

Re: Variable Amount of text in a Fixed Size Box

2010-06-01 Thread Dominic Watson
Is there any way that you can have the client enter the teaser text seperately from the main article body, i.e. 'teaser copy'. This could be used for page meta description, search results, etc. and will hand responsibility to the client for ensuring it fits. Hopefully, they'll be so frustrated tha

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Les Mizzell
> Client configured fonts are a PAIN in these situations. Plus you have to > account for HTML in your count. First thing I do to the text is strip all HTML!! The client cuts/pastes from Word like CRAZY, and we all know what that crap looks like ... I clean it on the way into the database to sta

RE: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Bobby Hartsfield
i...@gmail.com] Sent: Monday, May 31, 2010 6:28 PM To: cf-talk Subject: Re: Variable Amount of text in a Fixed Size Box On Mon, May 31, 2010 at 2:19 PM, Les Mizzell wrote: > The graphic designers I work with need to get out of their "print mode" > when doing layouts!!! ... and the

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Azadi Saryev
your css presumably defines default fonts for the text in the box. check in as many browsers+os which one generates the least number of chars that fit in the box (and don;t forget to count [click for more] text you'll be adding!). that's the number of chars you need to work with. after that downl

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Sean Corfield
On Mon, May 31, 2010 at 2:19 PM, Les Mizzell wrote: > The graphic designers I work with need to get out of their "print mode" > when doing layouts!!! ... and they get the darned designs approved by > the client *before* sending to me and going "see any issues here". I sympathize. Over the years,

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Les Mizzell
Sean Corfield wrote: > If you know how many characters will fit in the box (which may be font > dependent?), then start there and work back to the next space and > truncate there. That way you'll always have complete words and the > number of words will vary depending on the total number of charac

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Sean Corfield
If you know how many characters will fit in the box (which may be font dependent?), then start there and work back to the next space and truncate there. That way you'll always have complete words and the number of words will vary depending on the total number of characters. On Mon, May 31, 2010 a

Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Les Mizzell
Right - don't do this. Can only end in tears... OK, designer has come up with a fixed size box on the index page of a site that will hold X amount of stuff from a feature story on another page of the site. Like: yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yad