I am working on a PHP Nuke theme, and the ads were placed down in with the content, and i wanted them up in the header beside the logo. Well I finally got the ads up in the header, but the ads are displayed centered below the logo and I want them beside the logo.
There is enough room pixel wise for them to fit side by side on my monitor, maybe some trouble on 800x600 but I plan on making a new theme just for that.
The problem is the theme uses tables rather than div's and I am not very familiar with coding tables, I am more of a CSS person myself.
Here is the code I have:
Code:
else {
echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\" border=\"0\" align=\"center\">";
echo "<tr><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>";
}
|