Say I have a line of CSS code:

DIV.MenuBar {font-weight:bold; font-size:1.1em; font-family:verdana, Arial, sans-serif;background:url("../images/image.jpg") repeat-x;border:1px solid black;}

This line of code displays the background image on IE just fine, but all other browsers don't.

Is there a reason why other browsers won't display this properly?

You need to give the <div> a width, so it knows how much to 'repeat'...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.