Fixed Logo, can't figure this stupid thing out.

Any problem with PHP can be disscused here
Post Reply
TheCrymsonLegends
Posts: 1246
Joined: Wed Feb 16, 2005 6:59 am

Fixed Logo, can't figure this stupid thing out.

Post by TheCrymsonLegends »

MUAHAHAH I figured it out! Well maybe.. This is where I need the most help!


http://thecrymsonlegends.smokyhosts.com I got the image in but I can't get that annoying black strip out the way lol. Here is my Header Code can anyone help me? If I change the size of the Logo.swf or Logo2.gif the space gets bigger then it don't match up with the sides of the site. Lol... anyone?

Code: Select all

<?php

echo"<BODY leftMargin=0 topMargin=0>\n";
echo "<DIV style=\"LEFT:0px;  POSITION: absolute; TOP:0px\">\n";
echo"<table width=100% border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
  echo"  <tbody>\n";
  echo"    <tr>\n";
  echo"      <td width=\"50%\" height=\"21\"><table width=100% border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
  echo"                  <tr>\n";
  echo"                    <td width=\"10%\" height=\"21\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"462\" height=\"201\">\n";
  echo"                        <param name=\"movie\" value=\"themes/XD-Redzone/Flash/logo.swf\">\n";
  echo"                        <param name=\"quality\" value=\"high\">\n";
  echo"                        <embed src=\"themes/XD-Redzone/Flash/logo.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"462\" height=\"201\"></embed>\n";
  echo"                    </object></td>\n";
  echo"                    <td width=\"60%\"></td>\n";
  echo"                    <td width=\"0%\"></td>\n";
  echo"                    <td width=\"65%\"><div align=\"right\"><img src=\"UploadedPictures/Logo2.gif\" width=517 height=201 alt=\"\"></div></td>\n";
  echo"                  </tr>\n";
  echo"                            </table>\n";
  echo"                <table width=100% border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
  echo"                  <tbody>\n";
  echo"                    <tr>\n";
  echo"                      <td width=\"40%\" height=\"21\"><table width=100% border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
  echo"                          <tbody>\n";
  echo"                            <tr>\n";
  echo"                              <td width=\"1%\" height=\"21\"><IMG SRC=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_05.gif\" HEIGHT=39 ALT=\"\"></td>\n";
  echo"                              <td width=\"99%\" background=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_06.gif\"><TABLE WIDTH=100% BORDER=0 align=\\\"left\\\" CELLPADDING=0 CELLSPACING=0>\n";
  echo"                                  <TR>\n";
  echo"                                    <TD valign=\\\"top\\\"><p align=\\\"center\\\">[b]<FONT face=Verdana size=1>$theuser</FONT>[/b]</p></TD>\n";
  echo"                                  </TR>\n";
  echo"                              </TABLE></td>\n";
  echo"                              <td width=\"0%\"><IMG SRC=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_08.gif\" WIDTH=30 HEIGHT=39 ALT=\"\"></td>\n";
  echo"                            </tr>\n";
  echo"                                      </table></td>\n";
  echo"                      <td width=\"20%\" background=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_09.gif\"></td>\n";
  echo"                      <td width=\"40%\"><table width=100% border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\n";
  echo"                          <tbody>\n";
  echo"                            <tr>\n";
  echo"                              <td width=\"1%\" height=\"21\"><IMG SRC=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_10.gif\" WIDTH=32 HEIGHT=39 ALT=\"\"></td>\n";
  echo"                              <td width=\"99%\" background=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_11.gif\"><table width=100% border=0 align=\\\"left\\\" cellpadding=0 cellspacing=0>\n";
  echo"                                  <tr>\n";
  echo"                                    <td valign=\\\"top\\\"><p align=\\\"center\\\">[b]$button1[/b]</p></td>\n";
  echo"                                  </tr>\n";
  echo"                              </table></td>\n";
  echo"                              <td width=\"0%\"><IMG SRC=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_13.gif\" WIDTH=85 HEIGHT=39 ALT=\"\"></td>\n";
  echo"                            </tr>\n";
  echo"                                      </table></td>\n";
  echo"                    </tr>\n";
  echo"                                </table></td>\n";
  echo"            </tr>\n";
  echo"      </table></td>\n";
  echo"    </tr>\n";
echo "</TABLE>\n";

?>
Thank you for your help![/code]


Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

simple, you have to mutch table cells in banner

Fixed: after the flash source, delete these lines

Code: Select all

  echo"                    <td width=\"60%\"></td>\n";
  echo"                    <td width=\"0%\"></td>\n";
Now everything should be ok :D
Image
TheCrymsonLegends
Posts: 1246
Joined: Wed Feb 16, 2005 6:59 am

Post by TheCrymsonLegends »

Well, I did exactly what you said and :P, I got a bigger space between the two images.. I think the reason is that somewhere in my Code lies another Table Code thingy that goes to the other images that were there prior to me adding my logo. Im going to mess around with it some more.. and see what I can do to it to make it better. Thanks for your help, if you have any other ideas let me know :P Thanks.
Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

try to edit logo2 width sorce and change

Code: Select all

<td width="65%"><div align="right">[img]UploadedPictures/Logo2.gif[/img]</div></td>
into

Code: Select all

<td><div align="right">[img]UploadedPictures/Logo2.gif[/img]</div></td>
Image
Post Reply