Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Simon Kittle
> Hey, > > I've seen you fixed the problem som other way, but the real > problem is applyign styles in a span. Spans are inline > elements so applying padding acts on then in an unusual way, > I've found. I think if you used a DIV, or else applied > display: block; to the span you'd find it'

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Kevin Cannon
On Mon, Dec 26, 2005 at 05:58:29PM -, Simon Kittle wrote: > > If any uses of line-height are specified in em or % or px you are > > asking for the trouble you describe. Remove "em" from your line-height > > rule and you'll likely see the problem disappear. See: > > http://members.ij.net/mrmaz

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Ingo Chao
Simon Kittle wrote: > With regards to your suggestion though - I've used the DOM tool before to > inspect style and it's quite useful, however in my usage I only ever saw the > style directly applied to the element being viewed. Is there a way to make > the DOM viewer display all inherited style a

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Simon Kittle
> Simon Kittle wrote: > > line one > > line two > > > > And within the content of my page this is being display as this: > > > > http://www.moseyondown.com/dev/css/20051226.line-height-problem.png > > > > Unfortunately I can't post the page's HTML as it's an > unreleased website. > > > >

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Ingo Chao
Simon Kittle wrote: > line one > line two > > And within the content of my page this is being display as this: > > http://www.moseyondown.com/dev/css/20051226.line-height-problem.png > > Unfortunately I can't post the page's HTML as it's an unreleased website. > > > Do you know anything that

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Simon Kittle
> If any uses of line-height are specified in em or % or px you are > asking for the trouble you describe. Remove "em" from your line-height > rule and you'll likely see the problem disappear. See: > http://members.ij.net/mrmazda/auth/line-height-inherit.html Thanks for that. I thought it was

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Felix Miata
Simon Kittle wrote: > I can take the same HTML snippet into a brand new HTML document and it works > fine. The problem is the same in IE and FF - I know it is my code. If I > set line-height: 1em; for example, in a blank HTML document then I get this > same effect. But I've done global searche

Re: [css-d] what could give similar effect to line-height?

2005-12-26 Thread Dan Jallits
Could you copy the applicable CSS so that I may help you. -- Best regards, Daniel C. Jallits 100 E. Oneida Avenue Elmhurst, Illinois 60126-4465 United States of America T: 630.279.2798 | M: 630.670.3775 [EMAIL PROTECTED] | jallits.wordpress.com -- PGP Signature: Its Coming!

[css-d] what could give similar effect to line-height?

2005-12-26 Thread Simon Kittle
Hi all, I'm currently working on a website where I've got a problem with the spacing of lines. Basically, I've got a main content area on the page and it's behaving as if I've got some rouge "line-height" rule in there somewhere set to a small value. The result is that if I have a line of text a