I have recently turned my site into a php site. The only problem is I am trying to run more than one banner at the top. I don't want one underneathe the other. I would like them side by side and centered.

Also, I have seen on some sites similar to mine an adjustable (depending on window size) upper section. Upper meaning where my banner currently is. If possible I would also like to know how to accomplish something like this aswell. Any help would be greatly appreciated.

My Site

Thanks

I have recently turned my site into a php site. The only problem is I am trying to run more than one banner at the top. I don't want one underneathe the other. I would like them side by side and centered.

Also, I have seen on some sites similar to mine an adjustable (depending on window size) upper section. Upper meaning where my banner currently is. If possible I would also like to know how to accomplish something like this aswell. Any help would be greatly appreciated.

My Site

Thanks

Sounds like an html problem.

How the banners (images) are displayed, doesnt have anything to do with php. Its just html formatting.

To put two banners side by site just use a table.

<table width="100%">
<tr>
<td><img src="http://mysite.com/url/to/banner1.jpg" /></td>
<td><img src="http://mysite.com/url/to/banner2.jpg" /></td>
</tr>
</table>

This should also adjust to the size.

Or if you are into xHTML and the future of html display:

<div style="width:100%";">
<div style="float:left;">
<img src="http://mysite.com/url/to/banner1.jpg" />
</div>
<div style="float:right;">
<img src="http://mysite.com/url/to/banner2.jpg" />
</div>
</div>

Hope thats what you're looking for... :mrgreen:

Great tip, just what I was looking for also!!:)

Thanks for sharing the knowledge

<URL SNIPPED>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.