a blog about things that I've been thinking hard about

Comments Test

19 May, 2010
Page to test Disqus comments
by Philip Dorrell

In the Process of Setting up Blog Comments

I am adding to Disqus comments to my blog. This blog entry is to test the functionality of Disqus.

One Tricky Thing I Had to Do

Because my layout uses CSS property float:left for the left-hand sidebar, and because the Disqus comments section contains elements with CSS property clear:both, I had to nest the comments section inside a div with properties float:left and width:100%, itself inside a "normal" div (i.e position:relative), and followed by a sibling with the clear:both property.

If I didn't do that, then part of the comments section (the element containing the login buttons) would get "stretched" down to where my left side-bar finished.

Vote for or comment on this article on Reddit or Hacker News ...