Solved

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

Posted on 2013-05-25
1
451 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
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…
Suggested Courses

635 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