Gringo,
Gave that approach a try but it did not work at all using background-images. Can only get a single background-image to work right with it placed in a h1, h2,..., p, etc. element in a div id, otherwise the image dosen't appear at all.
An important note I didn't tell you about in my original post!
Also, I have another background-image in the #header div, which is before the background-image I am placing to the left in the #header h1. Here is the CSS code for entire header section of my page. This was done so that the logo image to the left would appear on top of the 1st background-image. /* Header */
#header {
border-bottom: 3px solid #00008B;
background: #6495ED url(../images/header-bg.jpg) no-repeat top left;
}
#header h1 {
margin: 0;
padding: 20px 5px 45px 100px;
color: #00008B;
background: url(../images/sphinx-logo.jpg) no-repeat top left;
font: 200% Arial, Helvetica, sans-serif;
}
I think I will try removing the 1st background-image and adding the two image to the left & right and see what happens. If that does it, then I will have to go without having a nice gradient effect in my header bar.
Steve
|