Solved

use background image on h1

Posted on 2006-07-06
2
1,238 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
[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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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 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…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Suggested Courses

624 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