I am trying to make a theme that inherits from prosilver, but there is something that I don't understand in this style.
In the forumlist_body.html template file, there are three
<dfn>
elements (inside the Topics, Posts and Last post <dd>
cells) whose contents replicate the title of the columns.These elements are styled that way (from contents.css, line 78) :
Code: Select all
ul.topiclist dfn {
position: absolute;
left: -999px;
width: 990px;
}
<dl>
element.This styling actually seems to put them outside of the view port, which is not very different from applying a
display:none
to them.But this pose a big problem to me, because I need to add a
position: relative
to the parent (intermediary) <dd>
element, and this completely breaks this absolute positioning, making the <dfn>
contents visible at an unexpected place.Of course I need to imagine some styling changes to set to these
<dfn>
elements, but the problem is that I absolutely don't understand the actual purpose of them, nor why they have been put there, nor why they actually even exist.When are these
<dfn>
contents actually and ever displayed?What are they made for?
Is there some javascript code or responsive style applied to them sometimes?
What will happen if I remove them or if I apply a
display:none
style to them instead? What will stop working if I do that?