via Tom Clougherty
How to add Styles or Markup Styles to the drop-down-lists in the SharePoint 2010 ribbon
I found a very useful blog post from SharePointRoot the other day that allowed me to provide some custom styles to a client for their SharePoint 2010 platform. They loved it as it gave them a whole load of bespoke formatting options without having to delve in to code.

The basic process involves creating a class in your CSS that is named using “ms-rteStyle” as a prefix will place theĀ element as an entry in your Styles drop-down-list in the ribbon.
Creating a class with the prefix “ms-rteElement” will add it to the Markup Styles drop-down-list in the ribbon.
I don’t yet know the difference between the two (perhaps somebody can enlighten me) and it’s a shame that SharePoint requires the use of -ms-name: as this will cause validation of the CSS to fail, but despite that it’s a very easy method of extending the content owner’s control over their site, which has got to be a Good Thing, hasn’t it?
An example:
.ms-rteStyle-MyNewTitle {
-ms-name:"This is a Style";
color: red;
}
or:
.ms-rteElement-MyNewTitle {
-ms-name:"This is a Markup Style";
color: red;
}
I’d like to track my running with my smartphone, but it’s just not reliable enough…
I have a Samsung Galaxy S, which I am generally happy with, but I keep having problems with the GPS features. There seems to be a lot of active discussion around poor GPS on both Galaxy S and S2 models.
I use CardioTrainer and paid for the pro upgrade. When the GPS is behaving properly it’s a very nice app. I like seeing or hearing my average pace and distance travelled and how it backs-up my tracks to a server.
However, the poor GPS issue has gotten to the point where I am seriously considering buying a dedicated GPS watch like something from the Garmin Forerunner series. A friend has one and enjoys it, but isn’t it just yet another gadget to have on charge at home, upload data from, worry about losing, and ultimately end up not being used as much as it could?
The poor GPS on the Samsung Galaxy models also affects my ability to use the device as a navigation device in car or on foot. It’s just too unreliable, which is a shame. It’s probably going to mean I look to other manufacturers when the time comes to upgrade my phone package.
Location-based services are going to get bigger in 2012. Facebook, Twitter and Google have all invested heavily in these areas and an increasing number of mobile apps are adding location features.
I’ve still not decided whether to get a dedicated running watch/device or make-do with the phone… Or maybe there’s an alternative option out there that I haven’t considered?
Welcome Back
It’s been an interesting 2011, but I won’t bore you with the details. All I can say is that it wasn’t convenient or expedient for me to maintain a personal website for a variety of reasons. The environment has changed somewhat and I am once again comfortable with running a personal website.
I’ll be writing about various topics:
- Food addiction
- Running
- Social media
- Web development
There may also be the odd post of a personal nature as I will use this blog to record significant moments in my personal life that I want to share with the world – a diary, if you will. Maybe some comment on current affairs.
You’re welcome to comment on posts, challenge me, disagree with me and generally have a bit of banter. But please don’t get nasty.