CSS


CSS: Height of an Empty Layer in Internet Explorer

February 2, 2010

In Internet Explorer (IE), an empy layer is given a default height. Even if you specify a height that is less than this default height (something like 5px or 6px), your values will be ignored.
Read More


CSS: IE Cuts Off Bottom of Text

December 18, 2009

In IE 7+, large text gets cut off, while other browsers render text as intended.  This has something to do with the height tag, where the layer does get ex...
Read More


CSS: Top Margin Stolen From Child Element And Added to Parent (Margin Collapsing)

November 24, 2009

Another fun little CSS issue, and a potential solution to the problem.
Read More


CSS: Container Layers That Don't Contain

November 6, 2009

One of my biggest frustrations with CSS has been the lack of a container layer to expand with the height of the content that it contains if the content is composed of floated layers. I actually can't even really think of a time where I would want the content to spill outside the confines of it's container...but it is what it is. How do you solve it?
Read More


CSS: Removing Whitespace Above Form Textboxes

November 5, 2009

Recently, while working on a login form, I encountered an issue where input text boxes would have unnecessary whitespace above them, which would then cause them not to align with an image that I was using as the submit button...
Read More


CSS For Layout Sucks

October 10, 2009

Cascasding style sheets (CSS) are great for specifying fonts, but currently the various interpretations by different browsers, as well as non-intuitive oddities...
Read More