Click to See Complete Forum and Search --> : Help Creating A Block


CTerrian
02-27-2008, 03:34 PM
I'm still learning PHP, and I'm trying to create a block with two banners centered (side by side) in the block.
GameTracker provides the code for my game servers stats in HTML.
Here's the HTML provided by GameTracker:
<!-- Start GameTracker Banner -->
<iframe src="http://cache.www.gametracker.com/components/html0/?host=69.65.13.83:27015&width=200&height=547&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=1&showTopPlayers=1&showBlogs=0" frameborder="0" scrolling="no" width="200" height="547"></iframe>
<!-- End GameTracker Banner -->
<!-- Start GameTracker Banner -->
<iframe src="http://cache.www.gametracker.com/components/html0/?host=69.65.13.82:27015&width=200&height=547&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=1&showTopPlayers=1&showBlogs=0" frameborder="0" scrolling="no" width="200" height="547"></iframe>
<!-- End GameTracker Banner -->

I've already created the "block_banner.php" file. I just need help with the code.
I know this can be done because I've seen it at other sites using php.

Thanks in advance,
CT

PS: I'm using "Team Fortress 2 Nuke theme"
(Item# DMTF2)
PHP-Nuke
PHP Version 5.2.5

bogu
02-28-2008, 04:26 AM
This is not a server side question so is not php related, answering to your question; did you try css float, or a table with 2 cells?

laserlight
02-28-2008, 04:47 AM
Moved to ClientSide Technologies.