Jump to content

firefox different than ie


george

Recommended Posts

This code works fine in IE, but the tiny ribbon image is a no show in fire fox. Any ideas?

	background-image:url(images/tinyribbon.png);	background-repeat: repeat-x;

The image is being used to fill in an area that is used for a <ul> type menu, as follows

#menuwrapper { 	border-top: none; 	border-bottom: none; 	background-color: #909090;	background-image:url(images/tinyribbon.png);	background-repeat: repeat-x;	width:800px;}

Link to comment
Share on other sites

My DOM inspector shows that your menuwrapper div has a height of 0px. Therefore no background image can be seen. Divs do not always have height just because they have content. Strange but true. Try giving it an explicit height (26px?) and see what happens.

Link to comment
Share on other sites

My DOM inspector shows that your menuwrapper div has a height of 0px. Therefore no background image can be seen. Divs do not always have height just because they have content. Strange but true. Try giving it an explicit height (26px?) and see what happens.
That did it. But now my right cap png is offset both to the left and down. Any ideas why? ThanksBTW: Is your DOM inspector freeware?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...