> On Jul 30, 2015, at 03:33, Angela French <afre...@sbctc.edu> wrote: > > I have an h1 with a span applied to the first three words to make them > smaller. I want the bottom of the text to line up those with the rest of the > heading and it is not. > > Html: <h1><span class="policyManualFirstLine">SBCTC Policy Manual</span> > Chapter 4: Instructional Program and Course Development</h1> > > > CSS: > h1 span.policyManualFirstLine > { > font-size:.65em; > vertical-align:baseline!important; /* tried this, no effect */ > padding-bottom:0; /* tried this, no effect */ > } > > Is what I'm looking for possible? Am I not doing it right?
Can you provide a test case illustrating your problem? Failing that, you'll need to provide more context… By default your span *should* rest on the baseline of its parent element, unless there are rules somewhere that prevents it. Look at this test case, the span rests on the baseline: http://dev.l-c-n.com/_junk/cssd-af.html (the red line indicates the baseline) Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/