seatoomol7 Posted September 25, 2007 Share Posted September 25, 2007 Why would my PHP coded website load right-aligned and then center itself? Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Could you provide us with your code ? Quote Link to comment Share on other sites More sharing options...
jaymc Posted September 25, 2007 Share Posted September 25, 2007 It must have HTML in it.. Quote Link to comment Share on other sites More sharing options...
seatoomol7 Posted September 25, 2007 Author Share Posted September 25, 2007 Yes, it contains HTML.  Here's the coding:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> <!-- a:link { text-decoration: none; color: #FF0000; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .style9 { color: #858585; font-size: 9pt; font-family: "Times New Roman", Times, serif; } .style15 {font-size: 9pt; color: #858585;} .style17 {font-size: 11px} .style20 {color: #999999} --> </style> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <meta name="keywords" content="89, 89.1, 891, fm, wbsu, wpnt, brockport, point, best, new, music, first, suny, sunny, cuny, top 40, radio, eagle, thepoint" /> <meta name="description" content="89.1 The Point is Your Home For The Best New Music First. Listen Live Online!"/> <meta name="Creator" content="89.1 The Point - http://www.891thepoint.com"/> <meta name="Copyright" content="All images, text and code found on this web site are copyright © 2007 891thepoint.com. All rights reserved."/> <meta name="Rating" content="General"/> <meta name="Publisher" content="http://www.891thepoint.com"/> <meta name="Distribution" content="global"/> <meta name="Revisit-after" content="1 day"/> <title> Home | 89.1 The Point - Your Home For The Best New Music First!</title> <link rel="shortcut icon" href="images/Favicon.jpg"/>  <link href="default.css" rel="stylesheet" type="text/css"/> <script type="text/javascript"> <!-- function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string')  href=mylink; else  href=mylink.href; window.open(href, windowname, 'width=550,height=225,scrollbars=no,resizable=no'); return false; } //--> </script>  <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc; }  function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)   if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}} }  function MM_findObj(n, d) { //v4.01  var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {   d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);  if(!x && d.getElementById) x=d.getElementById(n); return x; }  function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)  if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body onload="MM_preloadImages('images/index34.jpg'); runSlideShow()"> <script type="text/javascript"> <!-- //--> </script><script type="text/javascript"> <!-- //--> </script><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="bg1"> </td> <td width="778" valign="top" background="images/index09.gif"><table border="0" cellspacing="0" cellpadding="0">      <tr>     <td rowspan="2"><img src="images/index02.jpg" alt="" width="397" height="326" border="0" usemap="#Map"/></td>     <td><img src="images/index03.jpg" alt="" width="83" height="130" border="0" usemap="#MapMap"/>      <map name="MapMap">           <area shape="circle" coords="42,90,36" href="YourMusic.html"/>        </map></td>     <td><a href="PrizesEvents.html"><img src="images/index04.jpg" alt="" width="83" height="130" border="0" usemap="#Map"/></a>      <map name="Map">       <area shape="circle" coords="307,122,51" href="/index.php"/>            <area shape="circle" coords="327,137,4" href="#"/>       <area shape="circle" coords="302,120,9" href="#"/>          </map></td>     <td><a href="NewsSportsWeather.html"><img src="images/index05.jpg" alt="" width="83" height="130" border="0"></a></td>     <td><a href="live.m3u"></a>      <table width="83" height="130" border="0" cellpadding="0" cellspacing="0">           <tr>            <th scope="row"><img src="images/index35.jpg" width="83" height="40" border="0"></th>           </tr>            <tr>            <th scope="row"><a href="live.m3u" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image73','','images/index34.jpg',1)"><img src="images/index06.jpg" alt="," name="Image73" width="83" height="90" border="0"></a></th>           </tr>          </table>     <a href="live.m3u" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image72','','images/index34.jpg',1)"></a><a href="live.m3u" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image34','','images/index34.jpg',1)"></a></td>     <td><img src="images/index07.jpg" name="Listen Live" width="49" height="130" border="0"></td>     </tr>     <tr>     <td colspan="5"><img src="images/index08SEP.jpg" alt="" name="SlideShow" width="381" height="196" border="0" align="top"></td>    </tr>     </table> <table width="778" border="0" cellspacing="0" cellpadding="0">       <tr valign="top">       <td width="259" height="28" background="images/index10.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">           <tr>           <td width="28"><img src="images/spacer.gif" width="1" height="1"></td>           <td background="images/index12.gif"><img src="images/index13.gif" alt="" width="130" height="17"></td>           <td align="right" background="images/index12.gif"><img src="images/index14.gif" alt="" width="30" height="17"></td>            <td width="28"><img src="images/spacer.gif" width="1" height="1"></td>         </tr>         </table></td>       <td width="262" background="images/index11.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">           <tr>           <td width="27"><img src="images/spacer.gif" width="1" height="1"></td>           <td background="images/index17.gif"><img src="images/index18.gif" alt="" width="130" height="17"></td>           <td align="right" background="images/index17.gif"><img src="images/index19.gif" alt="" width="30" height="17"></td>           <td width="29"><img src="images/spacer.gif" width="1" height="1"></td>          </tr>           </table></td>        <td width="257" background="images/index11.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">           <tr>           <td width="27"><img src="images/spacer.gif" width="1" height="1"></td>           <td background="images/index17.gif"><img src="images/index20.gif" alt="" width="150" height="17"></td>           <td align="right" background="images/index17.gif"><img src="images/index21.gif" alt="" width="30" height="17"></td>           <td width="25"><img src="images/spacer.gif" width="1" height="1"></td>         </tr>            </table></td>       </tr>       <tr valign="top">       <td rowspan="2" align="center" valign="top"><table width="259" border="0" cellspacing="0" cellpadding="0">           <tr>           <td width="28"><img src="images/spacer.gif" width="1" height="1"></td>           <td width="203" class="align-justify"><center>            <p><!--The following code is for the On Air section of the page. This coding is very touchy so it is suggested you copy the currect coding into a notepad document for sake of losing all of the coding when you make changes. When editing the code, 0 stands for Sunday, 1 stands for Monday and so on. So, if Wednesday from 3pm to 6pm is voice tracked and a DJ gets promoted and takes that shift, you'll need to find section 3 of the array which is Wednesday, and then because the server time is different than our time, 3pm to 6pm is going to be hour 14, 15, and 16 (military time). You'll need to edit the DJ's name, where their picture is located, and who is up next for each of the lines. -AK -->   <div><br /><img src="images/DJ%20Pics/Adam.jpg"<br>Adam King<br>3:00pm - 6:00pm<br><br><font color="#ff0000">Up next:</font><br> More of the<br>Best New Music!</div>           </center>             <p align="center"> </p></td>           <td width="28"><img src="images/spacer.gif" width="1" height="1"></td>         </tr>           <tr>             <td> </td>            <td background="images/index36.gif" class="align-justify"><div align="right"><a href="OnAirDJs.php"><img src="images/index37.gif" border="0" align="right"></a><br>  </div>             <td> </td>             </tr>           </table>       <div align="center"><a href="http://www.bridgestone-firestone.com/" target="_blank"></a><a href="Rate Card.html"></a><a href="Rate Card.html"></a><br>       </div>           <div id="wx_module_3227">             <div align="center"><a href="http://www.weather.com/weather/local/14420" target="_blank">Brockport Weather Forecast, NY (14420)</a>            </div>          </div>              <div align="center">               <script type="text/javascript">   /* Locations can be edited manually by updating 'wx_locID' below. Please also update */  /* the location name and link in the above div (wx_module) to reflect any changes made. */  var wx_locID = '14420';   /* If you are editing locations manually and are adding multiple modules to one page, each */  /* module must have a unique div id. Please append a unique # to the div above, as well */  /* as the one referenced just below. If you use the builder to create individual modules */  /* you will not need to edit these parameters. */  var wx_targetDiv = 'wx_module_3227';   /* Please do not change the configuration value [wx_config] manually - your module */  /* will no longer function if you do. If at any time you wish to modify this */  /* configuration please use the graphical configuration tool found at */  /* https://registration.weather.com/ursa/wow/step2 */  var wx_config='SZ=180x150*WX=FHW*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=null|null*DN=www.891thepoint.com*TIER=0*PID=1012315523*MD5=47e5e193c9633d1327d53c668fe28ea6';   document.write('<scr'+'ipt src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');             </script>           </div>          </div></td>      <td><table width="262" border="0" cellspacing="0" cellpadding="0">           <tr>           <td width="27"><img src="images/spacer.gif" width="1" height="1"></td>           <td width="82"><p><a href="/Win.html"></a><a href="Win.html"></a><a href="Win.html"></a><a href="Win.html"></a><a href="http://www.subway.com" target="_blank"></a><a href="http://www.firestonecompleteautocare.com/" target="_blank"><img src="images/LunchConnection/oilchange.jpg" width="62" height="62" border="0"></a></p>           </td>            <td width="124" class="align-justify"><p><a href="Win.html"><img src="images/index22.gif" alt="" width="3" height="5" hspace="5" vspace="2" border="0"></a><span class="alertInfo style15"><span class="text1 style17">Lunch Connection</span></span><span class="alertInfo style9"> <br>             </span>Need an oil change? Win a free oil change from Firestone in Brockport.</p>            </td>            <td width="29"><img src="images/spacer.gif" width="1" height="1"></td>         </tr>           <tr>           <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20"></td>         </tr>           <tr>            <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>           <td colspan="2" align="right" background="images/index23.gif"><a href="Win.html"><img src="images/index24.gif" alt="" width="53" height="9" border="0"></a></td>           <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>         </tr>           <tr>           <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20" border="0" usemap="#Map3"></td>         </tr>           <tr>             <td><img src="images/spacer.gif" width="1" height="1"></td>              <td><a href="http://www.hiltonapplefest.org/index.html"><img src="images/HiltonAF07.jpg" width="62" height="62" border="0"></a></td>  <td class="align-justify"><img src="images/index22.gif" alt="" width="3" height="5" hspace="5" vspace="2" border="0" usemap="#Map2"><span class="text1"> Hilton Apple Fest 2007 </span><a href="http://www.891thepoint.com/BestSports.php#broadcasts"><br>             </a>Join the Point on September 29th and 30th! </td>             <td><img src="images/spacer.gif" width="1" height="1"></td>         </tr>           <tr>             <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20"></td>          </tr>           <tr>             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>             <td colspan="2" align="right" background="images/index23.gif"><a href="HiltonAF.html"><img src="images/index24.gif" alt="" width="53" height="9" border="0"></a></td>             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>         </tr>           <tr>             <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20"></td>         </tr>            <tr>             <td><img src="images/spacer.gif" width="1" height="1"></td>             <td><a href="http://www.localendar.com/public/891" target="_blank"></a><a href="http://www.891thepoint.com/BestSports.php#PointAfter"><img src="images/PointAfter.jpg" width="62" height="62" border="0"></a></td>              <td class="align-justify"><img src="images/index22.gif" alt="" width="3" height="5" hspace="5" vspace="2" border="0" usemap="#Map2Map2"><span class="text1">The Point After </span><a href="http://www.891thepoint.com/BestSports.php#broadcasts"><br>                </a>Your live sports talk show on Sunday's from 6 - 9pm</td>              <td><img src="images/spacer.gif" width="1" height="1"></td>         </tr>           <tr>              <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20"></td>         </tr>           <tr>             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>             <td colspan="2" align="right" background="images/index23.gif"><a href="http://www.891thepoint.com/BestSports.php#PointAfter"><img src="images/index24.gif" alt="" width="53" height="9" border="0"></a></td>             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>         </tr>           <tr>              <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20"></td>            </tr>           <tr>              <td><img src="images/spacer.gif" width="1" height="1"></td>            <td><a href="http://www.localendar.com/public/891" target="_blank"></a><a href="http://blog.891thepoint.com"><img src="images/blog.jpg" width="62" height="62" border="0"></a></td>            <td class="align-justify"><img src="images/index22.gif" alt="" width="3" height="5" hspace="5" vspace="2" border="0" usemap="#Map2Map2"><span class="text1">Getting to the Point... </span><br>              Get inside the heads of the DJ's and Directors at The Point! Check out the new blog!</td>            <td><img src="images/spacer.gif" width="1" height="1"></td>            </tr>           <tr>              <td colspan="4"><img src="images/spacer.gif" alt="" width="1" height="20"></td>           </tr>           <tr>              <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>            <td colspan="2" align="right" background="images/index23.gif"><a href="http://blog.891thepoint.com" target="_blank"><img src="images/index24.gif" alt="" width="53" height="9" border="0"></a></td>            <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>           </tr>            </table></td>       <td><table width="257" border="0" cellspacing="0" cellpadding="0">           <tr>           <td width="27"><img src="images/spacer.gif" width="1" height="1"></td>            <td colspan="2" class="align-justify"><p>           Sunday's from 3pm to 6pm</p></td>           <td width="5"><img src="images/spacer.gif" width="1" height="1"></td>         </tr>           <tr>            <td> </td>           <td width="30"> </td>           <td width="380"> </td>           <td> </td>         </tr>           <tr>           <td height="22"> </td>           <td align="center" valign="middle"><div align="center"><span class="align-justify"><img src="images/1.gif" alt="" width="20" height="20" hspace="5" vspace="2"></span></div></td>           <td>Foo Fighters - "The Pretenders" <a href="http://www.myspace.com/891wbsu" target="_blank"><img src="images/index28.gif" alt="" width="9" height="9" border="0"></a></td>            <td> </td>         </tr>           <tr>           <td height="22"> </td>           <td align="center" valign="middle"><div align="center"><span class="align-justify"><img src="images/2.gif" alt="" width="20" height="20" hspace="5" vspace="2"></span></div></td>           <td>Finger Eleven - "Paralyzer" </td>           <td> </td>          </tr>           <tr>           <td height="22"> </td>           <td align="center" valign="middle"><div align="center"><span class="align-justify"><img src="images/3.gif" alt="" width="20" height="20" hspace="5" vspace="2"></span></div></td>           <td> Timbaland - "The Way I Are"</td>           <td> </td>         </tr>            <tr>           <td height="22"> </td>           <td align="center" valign="middle"><div align="center"><span class="align-justify"><img src="images/4.gif" alt="" width="20" height="20" hspace="5" vspace="2"></span></div></td>           <td>Pink - "Who Knew"</td>           <td> </td>         </tr>           <tr>            <td height="22"> </td>             <td align="center" valign="middle"><div align="center"><span class="align-justify"><img src="images/5.gif" alt="" width="20" height="20" hspace="5" vspace="2"></span></div></td>            <td>Linkin Park - "Bleed It Out"</td>            <td> </td>           </tr>           <tr>            <td height="22"> </td>            <td align="center" valign="middle"> </td>            <td align="left" valign="middle"><div align="right"><a href="35Live.html"><img src="images/index40.gif" border="0" align="left"></a></div></td>             <td> </td>           </tr>                               <tr>           <td height="20" colspan="4"><div align="center"><img src="images/spacer.gif" alt="" width="1" height="25">                      </div></td>         </tr>           </table>        <table width="100%" border="0" cellspacing="0" cellpadding="0">             <tr>              <td width="27"><img src="images/spacer.gif" width="1" height="1"></td>             <td background="images/index29.gif"><img src="images/index30.gif" alt="" width="130" height="17"></td>             <td align="right" background="images/index29.gif"><img src="images/index31.gif" alt="" width="30" height="17"></td>             <td width="25"><img src="images/spacer.gif" width="1" height="1"></td>            </tr>            </table>        <table width="257" border="0" cellspacing="0" cellpadding="0">             <tr>             <td><img src="images/spacer.gif" alt="" width="1" height="30"></td>              <td class="align-justify"> </td>             <td> </td>            </tr>             <tr>             <td width="27"><img src="images/spacer.gif" width="1" height="1"></td>             <td width="205" class="align-justify"><p align="left"><a href="http://www.myspace.com/891wbsu" target="_blank"><img src="images/myspace.bmp" width="200" height="26" border="0"></a><br>               <br>                <a href="http://brockport.facebook.com/group.php?gid=2202754795" target="_blank"><img src="images/Facebook.JPG" width="200" height="26" border="0"></a></p>             </td>              <td width="25"><img src="images/spacer.gif" width="1" height="1"></td>            </tr>             <tr>             <td colspan="3"><img src="images/spacer.gif" alt="" width="1" height="20"></td>            </tr>             <tr>             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>             <td align="right"><a href="Rate Card.html"><img src="images/YourAdHere.jpg" alt="" width="201" height="70" vspace="20" border="0" align="middle"></a></td>             <td><img src="images/spacer.gif" alt="" width="1" height="1"></td>             </tr>            </table></td>       </tr>       <tr>       <td height="24"><div align="center">        <p><a href="Rate Card.html"></a><a href="http://www.hiltonapplefest.org/"></a><a href="Rate Card.html"></a></p>       </div></td>       <td><div align="center"><a href="Rate Card.html"></a></div></td>      </tr>       </table> <table width="778" border="0" cellspacing="0" cellpadding="0">       <tr>       <td width="28"><img src="images/spacer.gif" alt="" width="1" height="1"></td>       <td width="722" background="images/index32.gif"><img src="images/spacer.gif" alt="" width="1" height="1"></td>       <td width="28"><img src="images/spacer.gif" alt="" width="1" height="1"></td>      </tr>       <tr>       <td colspan="3"><div align="center">         <p><img src="images/spacer.gif" alt="" width="1" height="15"><a href="http://www.mozilla.com/firefox/" target="_blank"><img src="http://www.891thepoint.com/images/Mozilla.jpg" width="110" height="32" border="0"></a><br>        </p>        </div></td>      </tr>       <tr align="center">       <td colspan="3" class="text2">Copyright © 2007 891ThePoint.com. All rights reserved.</td>      </tr>        <tr align="center">        <td colspan="3" class="text2 text2">Partially funded by the BSG mandatory fee. </td>       </tr>       <tr align="center">       <td colspan="3" class="text2">| <a href="About Us.html">About Us</a> | <a href="History.html">History</a> | <a href="Virtual Tour.html">Virtual Tour</a> | <a href="contactus.php">Contact Us</a> |</td>       </tr>      </table></td> <td height="40" class="bg1"> </td> </tr> <tr> <td> </td> <td background="images/index09.gif"> </td> <td> </td> </tr>  </table>    <map name="Map2"><area shape="rect" coords="3,0,112,99" href="#"></map> <map name="Map3"><area shape="rect" coords="73,18,93,72" href="#"></map> </body> </html>   Quote Link to comment Share on other sites More sharing options...
seatoomol7 Posted September 27, 2007 Author Share Posted September 27, 2007 Anyone have any ideas? Quote Link to comment Share on other sites More sharing options...
jbingman Posted September 30, 2007 Share Posted September 30, 2007 I've noticed that too. Myspace does that same thing. It could be images loading or the server trying to echo the HTML that was coded inside it. ps. use the code boxes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.