Solved

MY CSS in my asp.net master page does not work

Posted on 2013-05-25
1
422 Views
Last Modified: 2013-05-25
The CSS for a Div that I made have a background image appears to not work.  I know there is a simple solution, but I am at a loss for why this is not working.  Can anybody help?  Thanks!  Here is my div and css included.

 <div id="headmenu" class="headmenumasterstyle">                    
 </div>

and my css
.headmenumasterstyle
{
    clear:both;
    background:url(/Images/carbonfiberresized.jpg);
    height:100px;      
    width:1600px;

}

So why is it that I cannot see the image when I test the page?  Thanks!
0
Comment
Question by:VBBRett
1 Comment
 
LVL 9

Accepted Solution

by:
Ishaan Rawat earned 500 total points
ID: 39197265
There might be many problems...

May be your path to the image  is wrong...
or may be the image does not exist...

please provide us a live URL so that we can look whats going wrong...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now