Menu
Forum
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Gallery
New media
New comments
Search media
Members
Registered members
Current visitors
Classifieds Member Feedback
SHOP
Shop Head Units
Shop Amplifiers
Shop Speakers
Shop Subwoofers
Shop eBay Car Audio
Log in / Register
Forum
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
Log in / Join
What’s new
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Menu
Reply to thread
Forum
Off-topic Discussion
The Lounge
PHP coding help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="DubbDesigns" data-source="post: 4734499" data-attributes="member: 565130"><p>Anyone know anything about php coding? I have a newbish question...</p><p></p><p>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.</p><p></p><p>Here is my coding:</p><p></p><p>[CODE]else {</p><p> echo "&lt;table cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\" border=\"0\" align=\"center\"&gt;";</p><p> echo "&lt;tr&gt;\n&lt;td background=\"themes/$thename/images/logobg.gif\"&gt;&lt;img src=\"themes/$thename/images/logo.gif\" alt=\""._WELCOMETO." $sitename\" border=\"0\" height=\"100\" width=\"350\"&gt;"; </p><p>if ($banners) {echo ads(0);}</p><p> echo "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;";</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="DubbDesigns, post: 4734499, member: 565130"] 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: [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>"; }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forum
Off-topic Discussion
The Lounge
PHP coding help
Top
Menu
What's new
Forum list