Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-05-25
1
Medium Priority
?
459 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
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…
Suggested Courses

972 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