DubbDesigns
10+ year member
CarAudio.com Veteran
Anyone know anything about php coding? I have a newbish question...
I have been working on a theme for nuke and I am stuck on trying to get the banner ads to display next the to the logo in the theme. Well I finally got the banners from the content area up into the header area but the banners center below the logo like it has a line break then the banner is centered but the logo is aligned to the left of the page. I don't know where its picking up the center. But I want the banner beside the logo, there is enough room pixel wise for them to sit side by side on my monitor, I will adjust for smaller monitors once I get the code right.
Here is my coding:
I have been working on a theme for nuke and I am stuck on trying to get the banner ads to display next the to the logo in the theme. Well I finally got the banners from the content area up into the header area but the banners center below the logo like it has a line break then the banner is centered but the logo is aligned to the left of the page. I don't know where its picking up the center. But I want the banner beside the logo, there is enough room pixel wise for them to sit side by side on my monitor, I will adjust for smaller monitors once I get the code right.
Here is my coding:
Code:
else {
echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\" border=\"0\" align=\"center\">";
echo "<tr>\n<td background=\"themes/$thename/images/logobg.gif\"><img src=\"themes/$thename/images/logo.gif\" alt=\""._WELCOMETO." $sitename\" border=\"0\" height=\"100\" width=\"350\">";
if ($banners) {echo ads(0);}
echo "</td></tr></table>";
}