Name.com Cyber Monday sale: $6.99 .com domains and more. Shop the sale.

Php and banner insertion question

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

DoughMainz

Established Member
Impact
2
New to php. How do I insert a banner over a Header image?

<div class="container">
<div class="header"><a href="index.php"><img src="{$pb->template_path}images/background.jpg" alt="Title Image" style="border:0;" /></a></div>
EOF;

}

The above is what I have and I need to place a banner over the flag on the right that is 234x60. You can view the header Here

I am sure this is simple but not for me!

Thanks in advance for any assistance.

C.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
cant you just put the header you have now into the background, and then put the banner into the header (over the background)?
 
0
Close
In your CSS, does the div class "header" have a background-image set?
 
0
Close
hmm... you could do something complicated here, but I'd just do what this lot say:

Code:
<div class="container">
<div class="header" style="background-image: url({$pb->template_path}images/background.jpg);text-align: right;"><a href="#"><img src="path/to/banner.gif" style="border:0;" /></a></div>
EOF;

}
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back