[WSG] typographic challenge with css

2005-03-31 Thread Vaska . WSG
Hi folks: I'm trying to do something and I'm not sure if this is possible. What I want to do is write simple sentence constructed of left floated divs...like... div class='sentence'This/div div class='sentence'is/div div class='sentence'a/div div class='sentence'sentence./div The tricky part,

Re: [WSG] typographic challenge with css

2005-03-31 Thread Kornel Lesinski
On Thu, 31 Mar 2005 12:31:25 +0100, Vaska.WSG [EMAIL PROTECTED] wrote: The tricky part, since I can't do this with a span (I believe) is that I only want class='sentence' to be just the width of the word itself (just as a span does it) a bit offtopic note: From CSS point of view there is no

Re: [WSG] typographic challenge with css

2005-03-31 Thread Vaska . WSG
Thanks for that. I was missing the span display:block...plus I had forgotten the simplicity of a floated div that doesn't have a width applied to it. *) except old buggy browsers, ofcourse Yep...it's will work in IE5/Mac is it's just span (without display:block) oddly enough, otherwise it