Author Topic: This has to be easy?  (Read 7374 times)

0 Members and 1 Guest are viewing this topic.

Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
This has to be easy?
« on: August 20, 2008, 03:33:00 PM »
I have a random image mod installed and everything works great. The only problem I have is on the index page in the (random Image) box it does not have a border around it like the (latest image) box. Here is a snap shot of my code. www.militarywallpaper.us  Can someone please help fix the border issue.
Code: [Select]
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <tr>
          <td colspan="4"><img src="{template_url}/images/header_logo.jpg" width="640" height="96" alt="" /></td>
        </tr>
        <tr>
         </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bordercolor">
      <table width="640" border="0" cellspacing="1" cellpadding="0">
        <tr>
          <td class="tablebgcolor">
            <table width="638" border="0" cellspacing="1" cellpadding="0">
              <tr>
                <td class="navbar" height="23">
                  <table width="636" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
                      <td align="left">
    <br><a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
      <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;
                              <br><br>Total Images: {lang_site_stats}<br>{total_downloads}<br>{total_hits}


                                       <br><br>
<td width="225" align="right">
            <form method="post" action="{url_search}">
              <table border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <input type="text" name="search_keywords" size="15" class="searchinput" />
                  </td>
                  <td>
                    <input type="submit" value="{lang_search}" class="button" name="submit" />
                  </td>
                </tr>
                <tr valign="top">
                  <td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </tr>
              </table>
            </form>
          </td>
  </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="638" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" class="row2" valign="top">
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
  {if random_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                        {random_image}
<br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
  {endif random_image}


<br>
<center>
<script language="JavaScript" type="text/javascript">
<!--
ctxt_ad_partner = "xxxxxxxxxx";
ctxt_ad_section = "xxxxxxxxxxx";
ctxt_ad_bg = "";
ctxt_ad_width = 120;
ctxt_ad_height = 600;
ctxt_ad_bc = "EFEFEF";
ctxt_ad_cc = "EFEFEF";
ctxt_ad_lc = "004C75";
ctxt_ad_tc = "000000";
ctxt_ad_uc = "004C75";
// -->
</script>
<script language="JavaScript" src="http://ypn-js.overture.com/partner/js/ypn.js">
</script>
</center>



                </td>
                <td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                <td width="18" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="18" height="18" /></td>
                <td width="450" valign="top">
  <br />
                  <span class="title">{site_name}</span>
  <br />
  <br />

Home of the best wallpapers for your desktop. All wallpapers are free to download. We have one of the largest free desktop wallpaper collections on the web. We also have a Unique section,  that means you won't find these desktop wallpapers anywhere else on the web! Feel free to register so you can upload your own wallpapers, comment and vote. Also be sure to check back often as the site is updated daily.
<br />
<br />
<hr size="1" />
<div class="entrybody">
      <div style="width:415px; height:250px">
<div style="float:left; width:20px; padding-top: 26px;">
<div style="height: 65px"><img src="http://www.militarywallpaper.us/google/img09.png" alt="img09.png" /></div>
<div style="height: 65px"><img src="http://www.militarywallpaper.us/google/img02.png" alt="img02.png" /></div>
<div style="height: 65px"><img src="http://www.militarywallpaper.us/google/img05.png" alt="img05.png" /></div>
<div style="height: 65px"><img src="http://www.militarywallpaper.us/google/img10.png" alt="img10.png" /></div>
</div>

<div style="float:right; width:330px">
 
<script language="JavaScript" type="text/javascript">
<!--
ctxt_ad_partner = "xxxxxxxxxxxx";
ctxt_ad_section = "xxxxxx";
ctxt_ad_bg = "";
ctxt_ad_width = 336;
ctxt_ad_height = 280;
ctxt_ad_bc = "FFFFFF";
ctxt_ad_cc = "FFFFFF";
ctxt_ad_lc = "004C75";
ctxt_ad_tc = "000000";
ctxt_ad_uc = "004C75";
// -->
</script>
<script language="JavaScript" src="http://ypn-js.overture.com/partner/js/ypn.js">
</script></div></div></div></div></div>

<br><br>

  <hr size="1" />
                  {if categories}
                  <table width="450" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="head1">
                        <table width="100%" border="0" cellspacing="0" cellpadding="4">
                          <tr>
                            <td class="head1" valign="top">{lang_categories}</td>
                          </tr>
                          <tr>
                            <td class="row2" valign="top">{categories}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  <br />
                  {endif categories}{lang_site_stats}<br />
                  <br />
                  {if msg}<b>{msg}</b><br /><br />{endif msg}
                  <table width="450" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head1">
                        <table width="100%" border="0" cellspacing="0" cellpadding="4">
                          <tr>
                            <td class="head1" valign="top">{lang_new_images}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr>
                      <td class="head1">{new_images}</td>
                    </tr>
                  </table>
                  <br />
             <br />
                   <table width="450" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head1">
                        <table width="100%" border="0" cellspacing="0" cellpadding="4">
                          </table>
                      </td>
                    </tr>
                    </table>
                       <br />

<br /> 
  <table width="450" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>   
       <table width="100%"  border="0"  cellpadding="4" cellspacing="0">
        <tr>
          <td class="head1">Random Pictures</td>
        </tr>
       </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="450"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>{random_images}</td>
<table width="450" border="0" cellspacing="0" cellpadding="1">
                  </tr>
        </table>
     </td>
    </tr>
</table>
<br><br>



  {whos_online}
  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>{category_dropdown_form}</td>
                      <td align="right">{setperpage_dropdown_form}</td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
                </td>
                <td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
        <tr>
          <td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt="" /></td>
          <td width="405">&nbsp;</td>
          <td width="225">&nbsp;</td>
          <td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{footer}
« Last Edit: August 20, 2008, 03:43:36 PM by V@no »

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: This has to be easy?
« Reply #1 on: August 20, 2008, 04:12:30 PM »
I can see border on random image  :roll:

Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: This has to be easy?
« Reply #2 on: August 20, 2008, 06:56:32 PM »
I can see border on random image  :roll:


Look where the images box's are for the random images. Thats where the blue border is missing. The box above it has the thin blue border.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: This has to be easy?
« Reply #3 on: August 21, 2008, 02:24:23 AM »
Perhaps you'd have more chances get an answer if you asked this question as a reply to "random image" mod
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: This has to be easy?
« Reply #4 on: August 21, 2008, 04:13:08 PM »
Hi,

<table width="450" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>   
       <table width="100%"  border="0"  cellpadding="4" cellspacing="0">
        <tr>
          <td class="head1">Random Pictures</td>
        </tr>
       </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="450"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="head1"><table width="100%" border="0" cellpadding="3" cellspacing="1"><tr class="imagerow1">


 :wink:
Kurt

Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: This has to be easy?
« Reply #5 on: August 21, 2008, 09:35:18 PM »
Man so close but it the tables get a little messed up with this code. I will give FTP access and $10 to who ever can fix this. PM me.



Hi,

<table width="450" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>   
       <table width="100%"  border="0"  cellpadding="4" cellspacing="0">
        <tr>
          <td class="head1">Random Pictures</td>
        </tr>
       </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="450"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="head1"><table width="100%" border="0" cellpadding="3" cellspacing="1"><tr class="imagerow1">


 :wink:
Kurt

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: This has to be easy?
« Reply #6 on: August 22, 2008, 08:10:32 PM »
[Solved]