Share via


John Kurlak's Blog

This is my blog on web development and computer science.

Filling the remaining height of a container while handling overflow in CSS (IE8+, Firefox, Chrome, Safari)

The issue I want to have a container with two elements inside of it, stacked on top of each other. I...

Date: 02/20/2015

Vertically Centering Multiple Lines of Text in CSS

It used to be pretty difficult to vertically center a paragraph of text within its container using...

Date: 05/13/2014

Hiding Vertical Scrollbars with Pure CSS in Chrome, IE (6+), Firefox, Opera, and Safari

I just spent the past day trying to figure out the best way to hide scrollbars using pure CSS in the...

Date: 11/03/2013

JsonRequestBehavior.AllowGet Not Working?

Today, I got the following error: This request has been blocked because sensitive information could...

Date: 01/17/2013

Detecting if the User has Set Your Website as His or Her Homepage (IE-only)

I learned today that Internet Explorer has an API for detecting whether the user has set your...

Date: 01/15/2013

Distinguishing between min-height and height in CSS

Suppose we set the height of the body of a page to be 100%. Then what happens is that the body's...

Date: 12/13/2012

Expanding a Column to Fill the Remaining Horizontal Space

When you have two columns on a page, there is a pretty simple (though non-obvious) way to make the...

Date: 09/18/2012

Making An Element Fill 100% Height In Pure CSS

A common problem that web developers have is trying to make an element span 100% of its parent...

Date: 09/12/2012

Awesome PNG Compression Tool

Compressing images can save a lot of valuable bandwidth. One tool I really like for compressing...

Date: 08/28/2012

Opening the Internet Explorer Developer Tools Dialog on Modal Windows

As you may have noticed, Internet Explorer's Developer Tools window (press F12 to get there) cannot...

Date: 08/27/2012