Mr Portman

Primary school teacher + web developer = school web guru! Includes articles on primary education, particularly ICT, some web development notes and a few games for kids.

Chrome and background images in the body element

Tags: ,

Date: 9th November, 2009

Normally I expect problems with my stylesheet to occur in Internet Explorer, not Google Chrome, but the site you’re looking at now was, until recently, missing the background image and backgound colour for the <body> element, which is quite a big deal.

A quick google identifies the problem as something automatically added by Dreamweaver to stylesheets:

@charset “utf-8″;
/* CSS Document */

@charset “utf-8″;

/* CSS Document */

It’s actually the first line which causes the problem, and getting rid of it means your background images should display just fine.

July 2010

June 2010

May 2010

April 2010

February 2010

January 2010

December 2009

November 2009

October 2009

September 2009

Microsoft WebsiteSpark