Solved

use background image on h1

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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 …
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 style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

734 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