Page 3 of 3
Re: Diagram Captions Should Be Fixed
Posted: Tue Feb 08, 2011 11:37 am
by Kirby
Redundant wrote:This update really messes with the formatting of the malkovich games. For example, look at big brother 3.
I think you might have caught things when I was experimenting with Herman's suggestion. I removed the float left that was requested. Does it look alright now (minus the fact that the box is too wide)? I may do some more experimenting in the near future.
Re: Diagram Captions Should Be Fixed
Posted: Tue Feb 08, 2011 11:56 am
by Redundant
Kirby wrote:Redundant wrote:This update really messes with the formatting of the malkovich games. For example, look at big brother 3.
I think you might have caught things when I was experimenting with Herman's suggestion. I removed the float left that was requested. Does it look alright now (minus the fact that the box is too wide)? I may do some more experimenting in the near future.
It's fixed.
Re: Diagram Captions Should Be Fixed
Posted: Tue Feb 08, 2011 11:57 am
by Kirby
HermanHiddema wrote:Kirby wrote:Okay, there you go:
I made the text bold by default, because it doesn't seem to look that nice otherwise. Let me know if you want this updated, or anything else.
Wonderful, thanks!

Personally, I would prefer if diagrams were put inside a box, with the caption inside it and a (faint) line around it. Not bold by default would then allow the use of bold for emphasis.
If that box would also float to the left, allowing the text to flow around it, that would be great. The current implementation results in a lot of white space next to diagrams, and thus makes posts longer than they need to be, IMO.
Anyway, this is already a huge improvement!
I have tried doing all of the things that you mentioned, but setting the box to left float seems to hurt the layout when there are multiple diagrams in a single post. For now, I am using align-block, with an added modification so that it shows up in IE.
The box seems to wrap around the image and caption, now, but as you can see, the text is not to the right of the image this way, as you desire.
If you have any suggestions regarding the left float situation, please feel free to let me know. Until I solve that issue, I'll take the other suggestions you had (box around image and text, and not bolding the text).
Re: Diagram Captions Should Be Fixed
Posted: Tue Feb 08, 2011 12:00 pm
by daniel_the_smith
They look great! Thanks!
Re: Diagram Captions Should Be Fixed
Posted: Tue Feb 08, 2011 9:51 pm
by Joaz Banbeck
Re: Diagram Captions Should Be Fixed
Posted: Wed Feb 09, 2011 3:42 pm
by HermanHiddema
Kirby wrote:HermanHiddema wrote:Kirby wrote:Okay, there you go:
I made the text bold by default, because it doesn't seem to look that nice otherwise. Let me know if you want this updated, or anything else.
Wonderful, thanks!

Personally, I would prefer if diagrams were put inside a box, with the caption inside it and a (faint) line around it. Not bold by default would then allow the use of bold for emphasis.
If that box would also float to the left, allowing the text to flow around it, that would be great. The current implementation results in a lot of white space next to diagrams, and thus makes posts longer than they need to be, IMO.
Anyway, this is already a huge improvement!
I have tried doing all of the things that you mentioned, but setting the box to left float seems to hurt the layout when there are multiple diagrams in a single post. For now, I am using align-block, with an added modification so that it shows up in IE.
The box seems to wrap around the image and caption, now, but as you can see, the text is not to the right of the image this way, as you desire.
If you have any suggestions regarding the left float situation, please feel free to let me know. Until I solve that issue, I'll take the other suggestions you had (box around image and text, and not bolding the text).
Thanks again, this looks great!
Some suggestions on fixing the float issue:
just before the div with the diagram, put <div style="clear:both"></div>. That should make sure that diagrams do not end up next to each other, and that text that comes after a diagram can end up next to it, but never before it.
I would then also suggest putting the "Show diagram code" text inside the diagram div, so it doesn't end up next to it. I'll try playing around locally with the css later this week, to see what I can come up with.
I think it would also be a good idea to add a little padding (say 5px) to the diagram box.