Leonard, you might also want to mention in what rendering system this doesn't work in - it works as expected (in both examples) in IE 4.0. -Chris Wilson > -----Original Message----- > From: L. David Baron [SMTP:dbaron@fas.harvard.edu] > Sent: Monday, September 28, 1998 12:45 PM > To: leonardr@Adobe.COM; www-style@w3.org > Subject: Re: Inheritance? > > >From: Leonard Rosenthol <leonardr@Adobe.COM> > >Given a style declaration of: > > > > <STYLE type="text/css"> > > <!-- > > .dynamic-style {text-indent : 24px} > > --> > > </STYLE> > > > > > >Why does this NOT work? > > <P class="dynamic-style"><SPAN>standard paragraph with a first line > >indent</SPAN></P> > > > > > >and this does? > > <P><SPAN class="dynamic-style">standard paragraph with a first line > >indent</SPAN></P> > > I would think that the first example should work, but the second example > should not work. This is because text-indent should only apply to > block-level > elements (such as P) but not to inline elements (such as SPAN). Could you > have gotten the examples mixed up? > > David Baron > > -------------------------------------------------------------------- > L. David Baron | Freshman, Harvard > dbaron@fas.harvard.edu | < http://www.fas.harvard.edu/~dbaron/ > > Webmaster, International Weather Satellite Imagery Center, etc. > --------------------------------------------------------------------Received on Tuesday, 29 September 1998 13:09:25 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:56 GMT