Image behind menu?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Image behind menu?

Post by jayson.ph »

Hi all.

is there a way, to put image behind list menu, using php code? see below image..

Image
User avatar
tr0gd0rr
Forum Contributor
Posts: 305
Joined: Thu May 11, 2006 8:58 pm
Location: Utah, USA

Re: Image behind menu?

Post by tr0gd0rr »

You'll want to use a CSS background-image. If you need to dynamically specify the image path using php, you can do something like `<div style="background-image: url(<?php echo $imageUrl?>)">...</div>`
Post Reply