Opened 11 years ago
Closed 11 years ago
#2345 closed defect (bug) (fixed)
Content Clear
Reported by: | mordauk | Owned by: | mordauk |
---|---|---|---|
Milestone: | 2.4 | Priority: | normal |
Severity: | minor | Version: | trunk |
Component: | Front-end | Keywords: | has-patch |
Cc: | alexvornoffice@…, pippin@… |
Description
With the addition of nested replies, the clearing of the forum/topic/reply content divs has changed. This results in a minor problem with people who want to style the background of the content area. See screenshot 1.
To fix this, we just need to add a simple clearfix to the content divs. With the clearfix, we get what is shown in screenshot 2.
The blue shown in the screenshots is from my Private Replies plugin, which changes the background color of private replies to indicate that they are private.
Attachments (4)
Change History (14)
#3
@
11 years ago
why not to use <div style="clear: both;">
instead of CSS code?
#6
@
11 years ago
text-indent: -999px;
I don't like this, so on a 4k monitor the text will show 999px to the left?
#9
@
11 years ago
Because that doesn't work for a clearfix. Here's an explanation from Chris Coyier: http://css-tricks.com/snippets/css/clear-fix/
Hierarchical replies are part of 2.4.