Opened 13 years ago
Closed 12 years ago
#6733 closed defect (bug) (wontfix)
gallery html issue
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | Gallery | Keywords: | has-patch tested |
Focuses: | Cc: |
Description
if you insert a floating div at the beginning of the content, and follow it with a gallery, it looks absolutely horrible. e.g.
<div style="float: left;">an author image</div> [gallery]
the best fix, I believe, would be to automatically insert the following before the gallery code:
<div style="clear: both;></div>
Attachments (1)
Change History (10)
#2
@
13 years ago
I'm not a XHTML/CSS expert but surely if you know enough about these things to be inserting <div>s into the content of your posts my advice might be "don't do that then" ;-)
#6
@
12 years ago
i think in most cases it makes sense to have the css in. no need for an additional div in front of the gallery, but having the css in can make sense.
Note: See
TracTickets for help on using
tickets.
adding this to the css also works: