On Mon, Feb 17, 2014 at 8:06 PM, Freelance Traveller < edi...@freelancetraveller.com> wrote:
THE HTML > > <DL> > <DT>John Jacob Jingleheimer Schmidt</DT> > <DD>His name is my name, too. Whenever we go out, we can hear the people > shout "Hooray for John Jacob Jingleheimer Schmidt".</DD> > </DL> > > DESIRED RENDERING > > Stuff bracketed with * should be bold, stuff in [] is generated content. > > CASE 1: display: run-in SUPPORTED > > *John Jacob Jingleheimer Schmidt[:]* His name is my name, too. Whenever > we go out, we can hear the people shout "Hooray for John Jacob > Jingleheimer Schmidt". > [...] What's not clear to > me is (a) how to handle Case 1, specifically the "undenting" of the left > margin (most of the rest I can work out), I'm probably misunderstanding the question, but based on your pseudo-code you could accomplish this with CSS 2.1 using display: inline: Example: http://codepen.io/jreece/pen/yznEw -- Jon Reece jon.re...@gmail.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/