Solved

use background image on h1

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
text align center the options is an html select 4 38
FIx alignment of two texts 1 26
Kill default webkit margin!  Please! 6 22
css help with menu spacing 10 30
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
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 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…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

914 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

21 Experts available now in Live!

Get 1:1 Help Now