Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
need help: background image in table or cell
Old 03-21-2005, 05:47 PM need help: background image in table or cell
Junior Talker

Posts: 1
Trades: 0
Although I'm using Postnuke CMS, the issue I need help with is what seems like a simple php problem. Nobody offered me any help in the pn forums. You guys are my only hope.

My objective here is to tile a 1px wide image (/images/bg.png) as a table or cell background behind the logo.gif (located in line 13) so when the browser is resized the logo appears to resize.

The index.php pulls header info from the theme.php which i have included relevant code below.

Can someone please help a n00b php'er out with this?

Thank you in advance


Code:
echo "</head>";
    echo "<body>";
    if(pnModAvailable('Banners'))
    {
        pnBannerDisplay();
    }
    echo "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"width:100%\">\n" .
         "<tr>\n" .
         "<td style=\"background-color:$GLOBALS[bgcolor1]\">\n" .
         "<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\" style=\"width:100%;background-color:$GLOBALS[bgcolor1]\">\n" .
         "<tr>\n" .
         "<td>\n" .
         "<a href=\"index.php\"><img src=\"" . WHERE_IS_PERSO . "images/logo.gif\" alt=\"" . _WELCOMETO . " $sitename\" /></a>\n" .
         "</td><td align=\"right\">" .
         '<form action="modules.php" method="post">' .
         '<div>' .
         '<input type="hidden" name="name" value="Search" />' .
         '<input type="hidden" name="file" value="index" />' .
         '<input type="hidden" name="op" value="modload" />' .
         '<input type="hidden" name="action" value="search" />' .
         '<input type="hidden" name="overview" value="1" />' .
         '<input type="hidden" name="active_stories" value="1" />' .
         '<input type="hidden" name="bool" value="AND" />' .
         '<input type="hidden" name="stories_cat" value="" />' .
         '<input type="hidden" name="stories_topics" value="" />' .
         '<div style="text-align:right">' .
         '<span class="pn-normal">' . _SEARCH . '&nbsp;</span>' .
         "<input class=\"pn-text\" name=\"q\" type=\"text\" value=\"\" />&nbsp;\n" .
         '</div>' .
         '</div>' .
         '</form>' .
         "</td></tr></table>\n</td></tr>\n<tr><td valign=\"top\" style=\"width:100%;background-color:$GLOBALS[bgcolor1]\">" .
bluehall is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to need help: background image in table or cell
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08156 seconds with 12 queries