Solved

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

Posted on 2013-05-25
1
429 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 10

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

770 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