PDA

View Full Version : хедер разезжается


neon
20.07.2006, 13:21
Доброго врямя суток и так я сузил хедер и в итоге в експлоере и опере сайт выглядит нормально, но в мозиле он разъезжается вот скрин и код моего хедера <?php

echo"<BODY leftMargin=0 topMargin=0>\n";
echo "<DIV style=\"LEFT:0px; align=\"center\" POSITION: absolute; TOP:0px\">\n";
echo"<table align=\"center\" width=800 border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo" <tbody>\n";
echo" <tr>\n";
echo" <td width=\"40%\" height=\"21\"><table width=800 border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo" <tbody>\n";
echo" <tr>\n";
echo" <td width=\"1%\" height=\"21\"><table width=100% border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_02.gif\">\n";
echo" <tbody>\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=\"52%\">&nbsp;</td>\n";
echo" <td width=\"0%\">&nbsp;</td>\n";
echo" <td width=\"10%\"><div align=\"right\"><img src=\"themes/XD-Redzone/images/HD/XD-Redzone_HD_04.gif\" width=112 height=201 alt=\"\"></div></td>\n";
echo" </tr>\n";
echo" </table>\n";
echo" <table width=800 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\\\"><strong><FONT face=Verdana size=1>$theuser</FONT></strong></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\">&nbsp;</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\\\"><strong>$button1</strong></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";

?>

Soniks
22.07.2006, 00:33
neon как вы видите у вас встречаются ашь тройное закаывычивание \\\" достаточно одного \"
а так сложно сказать, нужно смотреть исходный код html хедера