In CSS, how do I get a left-side fixed-width column with a right-side table that uses the rest of the width?

<div style=”width: 200px;background-color: #FFFFCC; float: left;”> Left column </div> <div style=”margin-left: 200px; background-color: #CCFFFF”> Right column </div> That should do it (obviously implementation will vary based on where it is in the page, but I think that’s the concept you’re looking for).

How can I show just the most recent post on my home page with jekyll?

This can be accomplished through the use of limit: {% for post in site.posts limit:1 %} … Show the post … {% endfor %} You can also use limit and offset together to “feature” your most recent post: <h1>Latest Post</h1> {% for post in site.posts limit:1 %} … Show the first post all big … … Read more

CSS container div not getting height

Add the following property: .c{ … overflow: hidden; } This will force the container to respect the height of all elements within it, regardless of floating elements. http://jsfiddle.net/gtdfY/3/ UPDATE Recently, I was working on a project that required this trick, but needed to allow overflow to show, so instead, you can use a pseudo-element to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)