Ranta Blog

9 Sep

Archive for September, 2009

Repeating Background image not showing up in IE

Monday, September 14th, 2009

Ever have the problem with your repeating background just not showing up in Internet Explorer but it does in Firefox? Try a space.

See the example below, this true and I have no idea why but if you don’t have a space after you specify your url it won’t work in IE:

background: url(images/your_image.jpg)top left repeat-x;  <<<<<<notice there is no space

background: url(images/your_image.jpg)  top left repeat-x;  <<<<<< now notice there IS a space

This slight difference will cause your css to be ineffective in IE.

Just a FYI………happy coding

Ranta Blog is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

© 2008 - 2010 Layout & Code by Josh Ranta

This page has been visited 7168 times.