Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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 tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

757 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

19 Experts available now in Live!

Get 1:1 Help Now