Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I m using 6 style sheets in my project. Three of my css is called. But two page is not calling. It is not enabled when I check it on Firebug.

In my css page, I called images using below code.

It is correct or not.If anyother reason css page is not enabled

#theme-default .acitem li a {
    background: url(http://localhost:1551/Employee_Payroll/img/dot.png) repeat-x bottom !important;
    border-right:#bfbfc0 1px solid;
    border-bottom:#babbbb 1px solid;
    border-left:#bfbfc0 1px solid;
    border-top:none !important;
    -moz-border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    border-radius: 0px !important;

}
#theme-default #primary_nav .icon_block, #theme-default .search_btn{
	background:url(http://localhost:1551/Employee_Payroll/img/alpha.png) no-repeat;
}

My html coding
 <div id="primary_nav" class="g_blue">
		 <ul>
			 <li><a href="#" title="Dashboard"><span class="icon_block m_dashboard">Dashboard </span></a></li>
			 <li><a href="#" title="Projects"><span class="icon_block m_projects">Projects </span></a></li>
			 <li><a href="#" title="Events"><span class="icon_block m_events">Events </span></a></li>
			 <li><a href="#" title="Address Book"><span class="icon_block p_book">Address Book </span></a></li>
			 <li><a href="#" title="Media"><span class="icon_block m_media">Media </span></a></li>
			 <li><a href="#" title="Settings"><span class="icon_block m_settings">Settings </span></a></li>
		 </ul>
	 </div>
Posted
Updated 28-Jan-13 21:52pm
v4
Comments
Sergey Alexandrovich Kryukov 29-Jan-13 3:04am    
Please show HTML sample code. Without it, we cannot see where did you screw up.
—SA
The path of image is "http://localhost:1551/Employee_Payroll/img/dot.png".
This should be relative path.
Something like "~/Employee_Payroll/img/dot.png".
devausha 29-Jan-13 3:48am    
Yes that image is in my project. Employee_Payroll is my project folder

1 solution

Hello,

Please first make sure that you have given proper path of css.
if yes then please post your html code so we'll able to sort out this issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900