The expandable textarea feature that has been introduced in firefox can be disabled with the following CSS code:

textarea {resize:none}

Aug 26

IE8 Centering a DIV

Posted in: Blog, css | 7 Comments

After thinking my website worked perfect on all browsers, IE8 came along and ruined it!! I can't wait for the day that Microsoft are banned from developing web browsers. The common CSS for centering a DIV on IE8 as shown below doesn't work:

margin:0 auto;}

To solve this you need the following CSS:

text-align: center;}

margin:0 auto;

Using text-align: center; centers the DIV for IE, and the text-align: left; margin: 0 auto; will align the text to the left, and center the DIV for other browsers.

Hopefully this little tip will prevent some page builders from having a nervous breakdown :)

Tools I Use

Web development, custom web based business applications, CMS systems.
Custom CMS systems using the Umbraco open source CMS based on ASP.NET.
I use Wordpress for small to medium scale CMS systems.
Dreamweaver, Flash, Flex and Photoshop are my tools of choice for interface design.

Read more about my Skills »


The ramblings, thoughts and opinions expressed on this website are my own personal opinions and do not represent my employer's views or the views of any companies I have worked for in the past.

About me

Welcome to my portfolio website. My name is Marc Love and I am a Web Developer based in Glasgow, Scotland.

I have worked for some of the top digital agencies in Glasgow during my career and have recently started up my own digital agency, madebycrunch with my web designer colleague Paul Daly. Our aim is to design and develop cutting edge websites that make a significant difference to the success of your business.

We are currently working on a range of different projects that you will be able to see very soon on the new madebycrunch website.

This site contains a selection of the projects I have worked on throughout my career.

Feel free to visit my Blog or take a closer look at my Portfolio.

Also check out uSkinned.net a new service I have launched (November 2014) providing premium Umbraco Themes and Starter Kits.

Get in touch!

If you are looking for freelance web developer or web designer services please get in touch via my contact page or the info below.

Tel: 0141 275 4848
Mob: 07795 417 980

St Georges Buildings
5 St Vincent Place
Glasgow, G1 2DH