By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,932 Members | 1,302 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,932 IT Pros & Developers. It's quick & easy.

background image not showing

P: 35
Hi all,

I have a css for my html files, everything works fine except the background image. It doesn't show. My browser is IE7. Here is how my files construct:

test.html:
Expand|Select|Wrap|Line Numbers
  1. <link href="style/main_test.css" rel="stylesheet" type="text/css">
  2.     ......
  3.     <div id="top_layout">
  4.    <span class="campus_menu">| <a href="http://www.google.com">Google Home</a>  | </span>
  5.  </div>
  6.  
  7.  
style/main_test.css:
Expand|Select|Wrap|Line Numbers
  1.         #top_layout{
  2.              margin:0px 0px 0px 0px;
  3.              background-imgage:url(../images/header_top_bg.jpg);
  4.              background-repeat:repeat-x;
  5.              width: 1024px;
  6.              height: 30px;
  7.          }
images/header_top_bg.jpg

Anyone suggestion will be appreciated!!
Jun 1 '08 #1
Share this Question
Share on Google+
1 Reply


P: 35
I replace background-image with background, now it works.
Jun 1 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.