Skip to: Site menu | Main content

I know stuff!

In web development and programming, I often come across useful tidbits that solve a problem for me. I often have those problems again and can't remember that tidbit. Now I will. Maybe you can benefit too.

Unintentionally Overwriting Stylesheets in IE
Last Modified: 3/11/2010 by mr.dossett

As part of a recent request to customize the header of a SharePoint (MOSS 2007) site, I ran into a little problem when trying to dynamically replace a stylesheet using Javascript.  The page had two stylesheets loading, one core stylesheet and one theme stylesheet, in that order.  I was trying to replace the core stylesheet with an altered version for certain parts of the site, however when I did it was as if the theme stylesheet was being overwritten too.  The problem was in how IE handles the DOM and Stylesheets (this was not a problem in Firefox). 

Read Full Article...

Fieldset + Background Image + Uneven Padding = Extra Border Lines
Last Modified: 3/6/2010 by mr.dossett

I noticed recently that in IE a fieldset on one of my sites was showing these odd extra "goal post" kinda lines at the top on the left and right.  Basically like the left and right border were extending to the top of the block.  At first I thought it was due to the background image and/or position of the fieldset, as removing the image fixed the problem.  Turns out it was the padding on the fieldset. 

Read Full Article...