iciman Posted October 8, 2008 Share Posted October 8, 2008 I posted a thread this morning about table problem on my website: www.newstarhomesltd.com As I only used IE I was not aware that I had a problem when viewed with firefox or safari. I have now sorted the lay out for firefox and safari but it as thrown everything out of line now when viewed with IE and I don't know why! Please help. <?php $sgun=date(d); $sAy=date(F);?> <?php include ("diller.php"); if (!isset($_COOKIE['SiteDil'])){ $lang = "en"; }else{ $lang = $_COOKIE['SiteDil']; } ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <META name="keywords" content="property in Altinkum, Turkey, Akbuk, for sale, rent, estate agent, real estate, villa, apartment, land" > <META content="NEWSTARHOMESLTD ESTATE AGENT. ALTINKUM PROPERTY FOR SALE AND RENT. WE SELL APARTMENTS, VILLAS, LAND" name="description"> <META http-equiv=content-language content=en> <META http-equiv=cache-control content=no-cache> <META content=Sel name=Author> <META [email protected] name=email> <META content=all,index,follow name=robots> <META content=T+O7ESqJOzxHiBxIhfGBZ6Hq/6qG4xsCo5H50axSHt8= name=verify-v1> <title><?php dilgoster($lang,0); ?></title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; background-color: #F2E8C5; } .style2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FC632A; font-weight: bold; } .style6 { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: xx-small; } .style8 { font-size: 12px; color: #FC632A; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } .style9 { font-size: 14px; color: #FC632A; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } .style13 { color: #FFFFFF; font-weight: bold; font-size: 14px; font-family: Verdana; } .style33 {font-size: 10px} .style35 { font-family: Verdana; font-size: 11px; } .style37 { color: #666666; font-size: 11px; font-weight: bold; font-family: Verdana; } a:link { color: #666666; text-decoration: none; } a:visited { text-decoration: none; color: #333333; } a:hover { text-decoration: underline; color: #FFFFFF; } a:active { text-decoration: none; } a { font-family: Verdana; font-size: 12px; font-weight: bold; } .style11 { color: #666666; font-family: Verdana; font-size: 10px; } .style38 {font-family: Verdana; color: #666666;} .style40 {color: #FFFFFF; font-weight: bold; font-size: 9px; font-family: Verdana; } .style41 {color: #FFCF73} .style44 { color: #FF6735; font-size: 16px; font-weight: bold; } .style45 {color: #666666; font-size: 10px; } .style47 { color: #FE6833; font-size: 16; font-weight: bold; } .style48 { color: #FE6833; font-size: 20px; font-weight: bold; } .style50 {color: #FFFFFF} .style52 {color: #FFFFFF; font-weight: bold; font-size: 16px; font-family: Verdana; } .style53 { color: #666666; font-size: 12px; font-family: Verdana; } --> </style> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script> <script language="javascript"> <!-- function uyemail() { <!-- if(document.getElementById('adi').value=="") { alert("Please Enter Your Name"); document.getElementById('adi').focus() return false } var emailPat=/^(.+)@(.+)$/ var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]" var validChars="\[^\\s" + specialChars + "\]" var quotedUser="(\"[^\"]*\")" var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/ var atom=validChars + '+' var word="(" + atom + "|" + quotedUser + ")" var userPat=new RegExp("^" + word + "(\\." + word + ")*$") var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$") var matchArray=window.emailform.stremail.value.match(emailPat) if (matchArray==null) { alert("Email address is invalid(check @ and .'s)") document.getElementById('stremail').focus() return false } var user=matchArray[1] var domain=matchArray[2] if (user.match(userPat)==null) { alert("Email address is invalid, Please correct.") document.getElementById('stremail').focus() return false } var IPArray=domain.match(ipDomainPat) if (IPArray!=null) { for (var i=1;i<=4;i++) { if (IPArray>255) { alert("Email address is invalid, Please correct.!") document.getElementById('stremail').focus() return false } } } var domainArray=domain.match(domainPat) if (domainArray==null) { alert("Email address is invalid, Please correct..") document.getElementById('stremail').focus() return false } var atomPat=new RegExp(atom,"g") var domArr=domain.match(atomPat) var len=domArr.length if (domArr[domArr.length-1].length<2 || domArr[domArr.length-1].length>3) { alert("Email address is invalid, Please correct.") document.getElementById('stremail').focus() return false } if (len<2) { var errStr="Email address is invalid, Please correct!" alert(errStr) document.getElementById('stremail').focus() return false } } //--> 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('index_jpg/offers/house1_a.jpg','index_jpg/offers/villa1_a.jpg','index_jpg/offers/complex1_a.jpg','index_jpg/offers/land1_a.jpg')"> <table width="930" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F2E8C5"> <tr> <td width="255" align="right" rowspan="2" valign="top"><?php include("search_engine.php");?></td> <td width="675" align="left" valign="top"><table width="726" border="0" cellspacing="0" cellpadding="0"></td> <td width="676" height="14" colspan="2" bgcolor="#F2E8C5"><span class="style6"> </span></td> </tr> <td width="676" rowspan="5" align="center" valign="center" bgcolor="#F2E8C5"> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','676','height','262','src','index_jpg/swf/sel','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','index_jpg/swf/sel' ); //end AC code </script> <noscript> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="676" height="262"> <param name="movie" value="index_jpg/swf/sel.swf" /> <param name="quality" value="high" /> <embed src="index_jpg/swf/sel.swf" alt="Altinkum" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="676" height="262"></embed> </object> </noscript> </td> <tr> <td align="left" valign="top" bgcolor="#F2E8C5"><a href="dil.php?dil=en"><img src="index_jpg/3dflagsdotcom_uk_2fawm.gif" alt="estate agent" width="55" height="33" border="0" /></a></td> </tr> <tr> <td align="left" valign="top" bgcolor="#F2E8C5"><a href="dil.php?dil=en">English</a></td> </tr> <tr> <td align="left" valign="top" bgcolor="#F2E8C5"><a href="dil.php?dil=tr"><img src="3dflags_tur.gif" alt="estate agent" width="55" height="33" border="0" /></a></td> </tr> <tr> <td height="141" align="left" valign="top" bgcolor="#F2E8C5"><a href="dil.php?dil=tr">Turkey</a></td> </tr> <tr> <td height="26" align="center" background="property_sale_jpg/orta.JPG" bgcolor="#F2E8C5"><div align="left" class="style52 style57" style="margin-left:5px;"> <? dilgoster($lang,0);?> </div></td> <td width="676" align="left" valign="top" bgcolor="#F2E8C5"> </td> <td height="26" align="center" bgcolor="#F2E8C5"></td> </tr> </table></td> </tr> <tr> <td height="655" align="left" valign="top"><div style="margin-left:45px; margin-top:0px;"> <script id="Sothink Widgets:index2.pgt" type="text/javascript" language="JavaScript1.2"> <!-- stm_bm(["menu6480",700,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this); stm_bp("p0",[1,4,0,0,0,3,14,7,100,"",-2,"",-2,50,0,0,"#999999","#FFFFF7","",3,0,0,"#000000"]); stm_ai("p0i0",[0,"<?php dilgoster($lang,12); ?> ","","",-1,-1,0,"index.php","_self","","","060418icon.gif","060418icon1.gif",14,12,0,"","",0,0,0,0,1,"",0,"",0,"panssR8C2.JPG","pans111R8C2.JPG",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","bold 13px Verdana","bold 13px Verdana",0,0],209,30); stm_aix("p0i1","p0i0",[0,"<?php dilgoster($lang,13); ?>","","",-1,-1,0,"search_result.php?op=search&PROPERTYTYPE=&PROPERTYBEDROOMS=0&PROPERTYLOCATION=&PROPERTYPRICE1=1&PROPERTYPRICE=1000000¤cy=GBP&image.x=106&image.y=4","_self","","","060418icon.gif","060418icon1.gif",14,12,0,"","",0,0,0,0,1,"",0,"",0,"panssR8C2.JPG","pans111R8C2.JPG",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","bold 12px Verdana","bold 12px Verdana"],209,30); stm_aix("p0i2","p0i1",[0,"<?php dilgoster($lang,14); ?>","","",-1,-1,0,"investment.php"],209,30); stm_aix("p0i3","p0i0",[0,"<?php dilgoster($lang,15); ?>","","",-1,-1,0,"","_self","","","060418icon.gif","060418icon1.gif",14,12,0,"arrow_r.gif","arrow_r.gif",7,7],209,30); stm_bpx("p1","p0",[1,2,0,0,0,4,14,0]); stm_aix("p1i0","p0i0",[0,"<?php dilgoster($lang,16); ?>","","",-1,-1,0,"property_management.php","_self","","","060418icon.gif","060418icon1.gif",14,12,0,"","",0,0,0,0,1,"",0,"",0,"panssR8C2.JPG","pans111R8C2.JPG",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","bold 11px Verdana","bold 11px Verdana"],180,30); stm_aix("p1i3","p1i0",[0,"<?php dilgoster($lang,17); ?>","","",-1,-1,0,"how_to_buy.php"],180,30); stm_aix("p1i4","p1i0",[0,"<?php dilgoster($lang,18); ?>","","",-1,-1,0,"airport_transfers.php"],180,30); stm_ep(); stm_aix("p0i4","p0i3",[0,"<?php dilgoster($lang,19); ?>"],209,30); stm_bpx("p2","p1",[]); stm_aix("p2i1","p1i0",[0,"<?php dilgoster($lang,20); ?>","","",-1,-1,0,"about_Turkey.php"],180,30); stm_aix("p2i2","p1i0",[0,"<?php dilgoster($lang,21); ?>","","",-1,-1,0,"about_Altinkum.php"],180,30); stm_aix("p2i3","p1i0",[0,"<?php dilgoster($lang,22); ?>","","",-1,-1,0,"about_Akbuk.php"],180,30); stm_ep(); stm_aix("p0i5","p0i0",[0,"<?php dilgoster($lang,23); ?>","","",-1,-1,0,"special_inquiries.php"],209,30); stm_aix("p0i7","p0i5",[0,"<?php dilgoster($lang,24); ?>","","",-1,-1,0,"contact_us.php"],209,30); stm_ep(); stm_em(); //--> </script> </div> <?php include("news.php"); ?> <div style="margin-top:0px; margin-left:0px;"></div> <td align="left" valign="top"><table width="674" border="1" cellspacing="1" cellpadding="1"></td> <td width="674" align="left" valign="top" style=" height:145px; background-image:url(about_us/ortabeyaz.jpg); "><table cellspacing="1" cellpadding="0" border="0"><tr><td align="center"><?php dilgoster($lang,27); ?></td></tr><tr><td valign="top" align="left"><?php dilgoster($lang,153); ?></td></tr></table> </tr><tr> <td height="27" style="background-image:url(property_sale_jpg/orta.JPG);"><div align="center" class="style13"><?php dilgoster($lang,32)?></span></div></td> </tr> <tr> <td align="left" valign="top" style=" height:100px; background-image:url(about_us/ortabeyaz.jpg);" ><div style="margin-top:2px; margin-bottom:2px;"> <table width="655" border="0" cellspacing="5" cellpadding="5"> <tr> <td width="160"><a href="search_result.php?op=search&PROPERTYTYPE=Flat&PROPERTYBEDROOMS=0&PROPERTYLOCATION=&PROPERTYPRICE1=1&PROPERTYPRICE=10000000¤cy=GBP&image.x=93&image.y=11" target="_self" onmouseover="MM_swapImage('Image13','','index_jpg/offers/<?php dilgoster($lang,29)?>',1)" onmouseout="MM_swapImgRestore()"><img src="index_jpg/offers/house1.jpg" alt="apartment in Altinkum" name="Image13" width="275" height="175" border="0" id="Image13" /></a></td> <td width="154"><a href="search_result.php?op=search&PROPERTYTYPE=Complex&PROPERTYBEDROOMS=0&PROPERTYLOCATION=&PROPERTYPRICE1=1&PROPERTYPRICE=1000000¤cy=GBP&image.x=106&image.y=13" target="_self" onmouseover="MM_swapImage('Image15','','index_jpg/offers/<?php dilgoster($lang,30)?>',1)" onmouseout="MM_swapImgRestore()"><img src="index_jpg/offers/complex1.jpg" alt="property in Altinkum" name="Image15" width="275" height="175" border="0" id="Image15" /></a></td> </tr> <tr> <td><a href="search_result.php?op=search&PROPERTYTYPE=Villa&PROPERTYBEDROOMS=0&PROPERTYLOCATION=&PROPERTYPRICE1=1&PROPERTYPRICE=1000000¤cy=GBP&image.x=134&image.y=17" target="_self" onmouseover="MM_swapImage('Image14','','index_jpg/offers/villa1_a.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="index_jpg/offers/villa1.jpg" alt="villa in Turkey" name="Image14" width="275" height="175" border="0" id="Image14" /></a></td> <td><a href="search_result.php?op=search&PROPERTYTYPE=Land&PROPERTYBEDROOMS=0&PROPERTYLOCATION=&PROPERTYPRICE1=1&PROPERTYPRICE=1000000¤cy=GBP&image.x=143&image.y=11" target="_self" onmouseover="MM_swapImage('Image16','','index_jpg/offers/<?php dilgoster($lang,31)?>',1)" onmouseout="MM_swapImgRestore()"><img src="index_jpg/offers/land1.jpg" alt="land for sale" name="Image16" width="275" height="175" border="0" id="Image16" /></a></td> </tr> </table> </div></td> </tr> <tr> <td align="center" bgcolor="#FFCF73" class="style40 style41">a</td> </tr> <tr> <td align="left" valign="top" ></td> </tr> </table></td> </tr> <tr> <td colspan="2"><div style="margin-top:0px;"> <table width="928" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="49"> </td> <td width="879" style="height:44px; background-image:url(index_jpg/sayfa_alti.JPG);"><table width="877" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="151"> </td> <td width="726"> </td> </tr> <tr> <td colspan="2" class="style37"> <div align="center"><a href="index.php"><?php dilgoster($lang,12)?></a> <a href="search_result.php?op=search&PROPERTYTYPE=&PROPERTYBEDROOMS=0&PROPERTYLOCATION=&PROPERTYPRICE1=1&PROPERTYPRICE=1000000¤cy=GBP&image.x=106&image.y=4"><?php dilgoster($lang,13)?></a> <a href="investment.php"><?php dilgoster($lang,14)?></a> <a href="special_inquiries.php"><?php dilgoster($lang,23)?></a> <a href="contact_us.php"><?php dilgoster($lang,24)?></a></div></td> </tr> </table></td> </tr> </table> </div></td> </tr> <tr> <td colspan="2"><div align="center" class="style35"><?php dilgoster($lang,33)?></div></td> </tr> <script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">var pageTracker = _gat._getTracker("UA-5766277-1");pageTracker._trackPageview();</script> </body> </html> Link to comment https://forums.phpfreaks.com/topic/127581-problem-with-tables-firefox-ok-but-ie-not/ Share on other sites More sharing options...
BillyBoB Posted October 8, 2008 Share Posted October 8, 2008 Why did you post your full code? It's not even in [co de] tags..... Sorry but this deters most users from your post. Is this a html error or PHP? I think you have the wrong forums too. Also <table> is a deprecated tag. Look into using <div>'s. Link to comment https://forums.phpfreaks.com/topic/127581-problem-with-tables-firefox-ok-but-ie-not/#findComment-660128 Share on other sites More sharing options...
dropfaith Posted October 8, 2008 Share Posted October 8, 2008 im going to go out on a limb here but i assume fixing the 342 Errors, 54 warning(s) http://validator.w3.org/check?uri=http%3A%2F%2Fwww.newstarhomesltd.com%2F&charset=(detect+automatically)&doctype=Inline&group=0 should fix some of the issues Link to comment https://forums.phpfreaks.com/topic/127581-problem-with-tables-firefox-ok-but-ie-not/#findComment-660130 Share on other sites More sharing options...
iciman Posted October 8, 2008 Author Share Posted October 8, 2008 Sorry BillyBob. I ddnt think anybody would be able to help if they didn't see the code. Now you've got me wondering, what do you mean when you say "It's not even in [co de] tags....." Link to comment https://forums.phpfreaks.com/topic/127581-problem-with-tables-firefox-ok-but-ie-not/#findComment-660131 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.