|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
I have a nav/title bar created in FW MX2004 that has been working fine inside
of pages with both XHMTL 1.0 transitional http://67.99.201.85/mm5/merchant.mvc...oduct_Code=OBA ACD&Category_Code=CL and HTML 4.01 transitional http://baytonemusic.com/index_tabPanel.htm declarations. However, I'm attempting to create new pages with an HTML 4.01 strict declaration and the table is breaking apart. http://67.99.201.85/mm5/merchant.mvc...tegory_Code=CL I've done some reading and understand that this is probably due to the transitional declarations putting the some of browsers into "Almost Standards" mode thereby affecting tables that utilize slices. Unfortunately, I don't know how to fix it. I have made changes suggested by the validator including removing the "language" attribute from the JavaScript tag. It also didn't seem to like <td border="0"> so I stripped all of those out of there. The latter created problems with FireFox, however, wrapping all of the link images in the the default link color. In any case, I'd appreciate any input. Pertinent code appears below. Thanks - JAY <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[i])&&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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } 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[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } //--> </script> <table border="0" cellpadding="0" cellspacing="0" width="770"> <!-- fwtable fwsrc="title_btn06.png" fwbase="title_btn06.gif" fwstyle="Dreamweaver" fwdocid = "669568765" fwnested="0" --> <tr> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="93" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="49" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="11" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="66" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="10" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="82" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="10" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="90" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="10" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="62" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="10" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="94" height="1" border="0"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="10" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="62" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="111" height="1"></td> <td><img src="http://www.baytonemusic.com/Images/spacer.gif" alt="" name="undefined_2" width="1" height="1"></td> </tr> <tr> <td colspan="15"><img name="title_btn06_r1_c1" src="http://www.baytonemusic.com/images/title_btn06_r1_c1.gif" width="770" height="69" alt=""></td> <td><img src="http://www.baytonemusic.com/images/spacer.gif" alt="" name="undefined_2" width="1" height="69"></td> </tr> <tr> <td rowspan="3"><img name="title_btn06_r2_c1" src="http://www.baytonemusic.com/images/title_btn06_r2_c1.gif" width="93" height="31" alt=""></td> <td><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('Home_btn','','http://www.baytonemusic.com/images/Home _btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/Home_btn.gif" alt="" name="Home_btn" width="49" height="20" onClick="MM_goToURL('parent','http://www.baytonemusic.com/index.htm');return document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c3" src="http://www.baytonemusic.com/images/title_btn06_r2_c3.gif" width="11" height="31" alt=""></td> <td><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('Products_btn','','http://www.baytonemusic.com/images/ Products_btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/Products_btn.gif" alt="" name="Products_btn" width="66" height="20" border="0" onClick="MM_goToURL('parent','http://www.baytonemusic.com/products.htm');return document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c5" src="http://www.baytonemusic.com/images/title_btn06_r2_c5.gif" width="10" height="31" alt=""></td> <td rowspan="2"><a href="http://www.baytonemusic.com/copyrights.php" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('Copyrights_btn','','htt p://www.baytonemusic.com/image s/Copyrights_btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/Copyrights_btn.gif" alt="" name="Copyrights_btn" width="82" height="22" onClick="MM_goToURL('parent','http://www.baytonemusic.com/copyrights.php');retur n document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c7" src="http://www.baytonemusic.com/images/title_btn06_r2_c7.gif" width="10" height="31" alt=""></td> <td rowspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('SongSearch_btn','','htt p://www.baytonemusic.com/image s/SongSearch_btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/SongSearch_btn.gif" alt="" name="SongSearch_btn" width="90" height="22" border="0" onClick="MM_goToURL('parent','http://www.baytonemusic.com/song_search.php');retu rn document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c9" src="http://www.baytonemusic.com/images/title_btn06_r2_c9.gif" width="10" height="31" alt=""></td> <td rowspan="2"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('Booking_btn','','http://www.baytonemusic.com/images/B ooking_btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/Booking_btn.gif" alt="" name="Booking_btn" width="62" height="22" onClick="MM_goToURL('parent','http://www.baytonemusic.com/booking.htm');return document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c11" src="http://www.baytonemusic.com/images/title_btn06_r2_c11.gif" width="10" height="31" alt=""></td> <td><a href="bioPromo.php" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('BioPromo_btn','','http://www.baytonemusic.com/images/ BioPromo_btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/BioPromo_btn.gif" alt="" name="BioPromo_btn" width="94" height="20" onClick="MM_goToURL('parent','http://www.baytonemusic.com/bioPromo.php');return document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c13" src="http://www.baytonemusic.com/images/title_btn06_r2_c13.gif" width="10" height="31" alt=""></td> <td><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('Contact_btn','','http://www.baytonemusic.com/images/C ontact_btn_f2.gif',1);"><img src="http://www.baytonemusic.com/images/Contact_btn.gif" alt="" name="Contact_btn" width="62" height="20" onClick="MM_goToURL('parent','http://www.baytonemusic.com/contact.htm');return document.MM_returnValue"></a></td> <td rowspan="3"><img name="title_btn06_r2_c15" src="http://www.baytonemusic.com/images/title_btn06_r2_c15.gif" width="111" height="31" alt=""></td> <td><img src="http://www.baytonemusic.com/images/spacer.gif" alt="" name="undefined_2" width="1" height="20" ></td> </tr> <tr> <td rowspan="2"><img name="title_btn06_r3_c2" src="http://www.baytonemusic.com/images/title_btn06_r3_c2.gif" width="49" height="11" alt=""></td> <td rowspan="2"><img name="title_btn06_r3_c4" src="http://www.baytonemusic.com/images/title_btn06_r3_c4.gif" width="66" height="11" alt=""></td> <td rowspan="2"><img name="title_btn06_r3_c12" src="http://www.baytonemusic.com/images/title_btn06_r3_c12.gif" width="94" height="11" alt=""></td> <td rowspan="2"><img name="title_btn06_r3_c14" src="http://www.baytonemusic.com/images/title_btn06_r3_c14.gif" width="62" height="11" alt=""></td> <td><img src="http://www.baytonemusic.com/images/spacer.gif" alt="" name="undefined_2" width="1" height="2"></td> </tr> <tr> <td><img name="title_btn06_r4_c6" src="http://www.baytonemusic.com/images/tit |
|
![]() |
| Outils de la discussion | |
|
|