Solved

use background image on h1

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

747 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

10 Experts available now in Live!

Get 1:1 Help Now