In my article on custom rich-text-editor (RTE) styles in SharePoint 2010, I noted that while it’s easy to add styles, or to wipe out all the default styles and replace them with your own, it’s not easy to modify the list of default styles — Remove a few but keep...
Read more
Tag Archives: CSS
CSS: Weird inline-block behavior
In CSS, inline-block is an odd animal — neither inline, nor block. Further, it comes with its own set of rendering rules that can sometimes lead to unexpected results. Take the following example: http://jsfiddle.net/aSzaE/ We have three nearly identical rows. Each consists of two inline-block divs sitting next to each...
Read more
Displaying links alphabetically in columns
As a developer, I’m often asked to display a dynamic list of links based on page types. For example, a pet store may have a page for each type of pet it sells, and they would like a landing page that automatically displays links to all those pages. I’ve created...
Read more
Bug fix: putting a background image on a table row
I came across this bug today, and the solution was difficult enough to find that I thought I’d share. The problem If you put a background image on a table row, it works fine in Firefox and modern versions of IE. But in Chrome, the image ends up being applied...
Read more
An example of SharePoint responsive design
We recently went live with a responsive retrofit of a complex SharePoint site: the website of Tennant Company. Their site looks like this at desktop resolution (click the image for a larger view): It looks like this on a small screen: You can see the responsive styles in action by...
Read more





