You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following CSS does not get applied unless the class 'section' is added to <section>s that that contain <dl>s. It should be applied to all <section>s.
I am guessing that you had some markup in there that was eaten, and the markup was about elements named section and maybe div? Can you just clarify so I am certain what needs to be fixed?
The fix may be as simple as deleting the period before "section". I'm not sure if there is any importance to the dl or dd elements being in a section element, though.
The following CSS does not get applied unless the class 'section' is added to <section>s that that contain <dl>s. It should be applied to all <section>s.
/* --- DL --- */
.section dd > p:first-child {
margin-top: 0;
}
.section dd > p:last-child {
margin-bottom: 0;
}
.section dd {
margin-bottom: 1em;
}
.section dl.attrs dd, .section dl.eldef dd {
margin-bottom: 0;
}
Robin says this looks like some code that remains from when <section> had to be converted into <div class=section>.
The text was updated successfully, but these errors were encountered: