Solved

use background image on h1

Posted on 2006-07-06
2
1,234 Views
Last Modified: 2008-03-10
i have this:

#Wrap {
      text-align:left;
      border:1px solid #b15111;
}
#header {
      position:absolute;
      width:1200px;
      height:50px;
      z-index:2;
}      

HTML:
<div id="Wrap">
  <div id="Header><img src="images/header_01.gif"><img src="images/header_02.gif">
    <h1>THIS IS THE H1 I WANT AN IMAGE BEHIND!!</h1>
  </div>
<div id="content">
</div>
</div>

 i want to use an image behind the h1 of ID #header:
0
Comment
Question by:bjv211
2 Comments
 
LVL 6

Accepted Solution

by:
pritaeas earned 250 total points
ID: 17053636
0
 
LVL 30

Expert Comment

by:GrandSchtroumpf
ID: 17054353
#header h1 {
     background: url(image.png);
}
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
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).

773 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