nie wyświetla mi grafiki w internet explorer - kulitom - 19-01-2011
Witam wszystkich.
Staram się uporać z moją stroną blogi.kleszczyk.pl
Nie wyświetla mi się w pełni grafika w internet explorer 8, za to w firefox 3.6 i chrome 8 wszystko jest ok.
Dopiero zaczynam swoją przygodę z css i html, ale edytować już umiem. Niestety z pewnością strona jest napisana z błędami, taką już kupiłem (chyba że to ja namieszałem w kodzie). Zależy mi na tym, żeby grafika wyświetlała się poprawnie w internet explorerze. Czy znajdzie się ktoś chętny, by wskazać mi ścieżkę do tych błędów i opisać co jest nie tak?
HTML
Kod: <?
include("usermenu.php");
if($l[sdsd])
{
}
?>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td><table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="userpanelbg">
<tr>
<td align="center" valign="top" class="mainbg"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td class="hdlinebg"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="left"><strong><?=$lvar[main_reg];?></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><table width="90%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td height="100" align="left" class="mainbg" style="font-family:Arial, Helvetica, sans-serif; font-size:20px;"><strong><?=$lvar[main_msg];?></strong></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td width="1"><img src="images/step1.gif" width="35" height="35" /></td>
<td align="left" style="font-family:Arial, Helvetica, sans-serif; font-size:18px;" class="mainbg"><?=$lvar[main_msg_1];?></td>
</tr>
<tr>
<td><img src="images/step2.gif" width="35" height="35" /></td>
<td align="left" style="font-family:Arial, Helvetica, sans-serif; font-size:18px;" class="mainbg"><?=$lvar[main_msg_2];?></td>
</tr>
<tr>
<td><img src="images/step3.gif" width="35" height="35" /></td>
<td align="left" style="font-family:Arial, Helvetica, sans-serif; font-size:18px;" class="mainbg"><?=$lvar[main_msg_3];?></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td height="50" align="left" class="mainbg" style="font-family:Arial, Helvetica, sans-serif; font-size:20px;"><strong><?=$lvar[main_msg_end];?></strong></td>
</tr>
<tr>
<td height="70" align="left" valign="top" class="mainbg" style="font-family:Arial, Helvetica, sans-serif; font-size:24px;"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td><span class="mainbg" style="font-family:Arial, Helvetica, sans-serif; font-size:24px;"><a href="<?=$_SERVER['PHP_SELF'];?>?page=register"><img src="images/apliko.gif" width="181" height="50" border="0" /></a></span></td>
<td> </td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="hdlinebg"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="left"><strong><?=$lvar[main_newnews];?> | <a href="index.php?page=last" class="newscomments"><?=$lvar[main_new100news];?></a></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellpadding="10" cellspacing="0">
<tr>
<td align="left"><?
$q = mysql_query("select * from ".$table_prefix."_news order by datepub desc limit 0,10");
while($l = mysql_fetch_array($q))
{
$qu = mysql_query("select * from ".$table_prefix."_users where Id=$l[uid]");
while($lu= mysql_fetch_array($qu))
{
$buus = $lu[rname];
}
$qu = mysql_query("select * from blog where uid=$l[uid]");
while($lu= mysql_fetch_array($qu))
{
$buu = $lu[bname];
}
if($l[title] =="")
{
$l[title] = "(Pa titull)";
}
?>
<div class="newstitle"> <a href="member.php?page=comments&member=<?=$buu;?>&newsid=<?=$l[Id];?>" class="newstitle"> <strong>
<?=$l[title];?>
</strong></a></div>
<div class="newsdescp"><span class="newstext">
<?
echo substr($l[descp],0,50);
?>
... </span> </div>
<div class="newsauthor"><a href="member.php?member=<?=$buu;?>" class="newscomments">
<?
echo $buus;
echo "</a>";
?>
<?=date("h:i d/m/y",$l[datepub]);?>
| <a href="member.php?page=comments&member=<?=$buu;?>&newsid=<?=$l[Id];?>" class="newscomments"><?=$lvar[main_comms];?>
<?
$ccount = 0;
$qc = mysql_query("select newsid from ".$table_prefix."_news_comments where newsid='$l[Id]'");
while($lc = mysql_fetch_array($qc))
{
$ccount++;
}
echo "(".$ccount.")";
?>
</a> <?
if($ustat =="op" or $ustat=="admin")
{
echo "<a href='index.php?delshkrim=$l[Id]'>$lvar[pg_pa_cal9]</a>";
}
?></div>
<?
}
?></td>
</tr>
</table></td>
</tr>
<tr>
<td class="hdlinebg"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="left"><strong><?=$lvar[main_adminnews];?>: </strong></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top">
<table width="100%" border="0" cellpadding="10" cellspacing="0">
<tr>
<td align="left"><?
$q = mysql_query("select * from ".$table_prefix."_news where uid='1' order by datepub desc limit 0,50");
while($l = mysql_fetch_array($q))
{
?>
<div class="newstitle"> <a href="member.php?page=comments&member=adioni&newsid=<?=$l[Id];?>" class="newstitle">
<strong>
<?=$l[title];?>
</strong></a></div>
<div class="newsdescp"><span class="newstext">
<?
echo substr($l[descp],0,100);
?>...
</span> </div>
<div class="newsauthor"> <?=$lvar[main_won];?>
<?=date("h:i d/m/y",$l[datepub]);?>
| <a href="member.php?page=comments&member=adioni&newsid=<?=$l[Id];?>" class="newscomments"><?=$lvar[main_comms];?>
<?
$ccount = 0;
$qc = mysql_query("select newsid from ".$table_prefix."_news_comments where newsid='$l[Id]'");
while($lc = mysql_fetch_array($qc))
{
$ccount++;
}
echo "(".$ccount.")";
?>
</a></div>
<?
}
?></td>
</tr>
</table> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td> </td>
</tr>
</table></td>
<td width="300" valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td class="menuhd"><strong><?=$lvar[main_src];?>:</strong></td>
</tr>
</table>
<form id="form1" name="form1" method="post" action="index.php?page=search">
<table width="100%" border="0" cellpadding="15" cellspacing="1">
<tr>
<td width="50%" >
<table width="100%" border="0" cellpadding="1" cellspacing="3">
<tr>
<td><input name="searchText" type="text" id="searchText" style="width:100%" /></td>
<td width="1"><input type="submit" name="Submit" value="<?=$lvar[main_src_btn];?>" class="buttons" /></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td class="menuhd"><strong><?=$lvar[main_stats];?>:</strong></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="center" class="menucont_brd_stats"><strong><?=$lvar[main_users];?>:</strong></td>
<td align="center" class="menucont_brd_stats"><strong><?=$lvar[main_news];?>:</strong></td>
<td align="center" class="menucont_brd_stats"><strong><?=$lvar[main_comms];?>:</strong></td>
<td align="center" class="menucont_brd_stats"><strong><?=$lvar[main_fotos];?>: </strong></td>
</tr>
<tr>
<td align="center" class="menucont_brd"><?
$qq = 0;
$q = mysql_query("select id from ".$table_prefix."");
while($l = mysql_fetch_array($q))
{
$qq++;
}
echo $qq;
?></td>
<td align="center" class="menucont_brd"><?
$qq = 0;
$q = mysql_query("select id from ".$table_prefix."_news");
while($l = mysql_fetch_array($q))
{
$qq++;
}
echo $qq;
?></td>
<td align="center" class="menucont_brd"><?
$qq = 0;
$q = mysql_query("select id from ".$table_prefix."_news_comments");
while($l = mysql_fetch_array($q))
{
$qq++;
}
echo $qq;
?></td>
<td align="center" class="menucont_brd"><?
$qq = 0;
$q = mysql_query("select id from ".$table_prefix."_fotos");
while($l = mysql_fetch_array($q))
{
$qq++;
}
echo $qq;
?></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td class="menuhd"><strong><?=$lvar[main_upblogs];?>: </strong></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<?
$col = 0;
$q = mysql_query("select * from blog where title IS NOT NULL order by datepub desc limit 0,14");
while($l = mysql_fetch_array($q))
{
if($col ==2 )
{
echo "</tr><tr>";
$col = 0;
}
?>
<td width="50%" class="menucont_brd" ><table width="100%" border="0" cellpadding="5" cellspacing="0" onMouseOver="this.className='menucont'" onMouseOut="this.className='menucont_nover'" class="menucont_nover">
<tr>
<td width="1"><a href="member.php?member=<?=$l[bname];?>"><img src="<?
if($l[foto] !="")
{
echo "viewfoto.php?ffile=$l[foto]&s=40";
}else{
echo "images/profile_big.gif";
}
?>" width="30" height="30" border="0" /></a></td>
<td align="left"><a href="member.php?member=<?=$l[bname];?>">
<?
if(strlen($l[title]) > 10)
{
echo substr($l[title],0,10)."...";
}else{
echo $l[title];
}
?>
</a></td>
</tr>
</table></td>
<?
$col++;
}
?>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td class="menuhd"><strong><?=$lvar[main_newblogs];?>: </strong></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<?
$col = 0;
$q = mysql_query("select * from blog where title IS NOT NULL order by datecre desc limit 0,14");
while($l = mysql_fetch_array($q))
{
if($col ==2 )
{
echo "</tr><tr>";
$col = 0;
}
?>
<td width="50%" class="menucont_brd" ><table width="100%" border="0" cellpadding="5" cellspacing="0" onmouseover="this.className='menucont'" onmouseout="this.className='menucont_nover'" class="menucont_nover">
<tr>
<td width="1"><a href="member.php?member=<?=$l[bname];?>"><img src="<?
if($l[foto] !="")
{
echo "viewfoto.php?ffile=$l[foto]&s=40";
}else{
echo "images/profile_big.gif";
}
?>" width="30" height="30" border="0" /></a></td>
<td align="left"><a href="member.php?member=<?=$l[bname];?>">
<?
if(strlen($l[title]) > 10)
{
echo substr($l[title],0,10)."...";
}else{
echo $l[title];
}
?>
</a></td>
</tr>
</table></td>
<?
$col++;
}
?>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
CSS
Kod: /* CSS Document */
body{ margin: 43px 0 0 0;
font: normal 100% Arial, Verdana, Tahoma;
background: #fff;
}
img, fieldset, form, ul, li, p, h1, h2, h3{
border: 0;
padding: 0;
margin: 0;
}
td,table,font, input,textarea,select {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
}
a {
text-decoration:none;
color:#000000;
}
form {
margin:0px;
}
div#all{
border-top: 1px #d1d0d0 solid;
width: 885px;
margin: 0 auto;
}
div#top{
height: 100px;
position: relative;
}
div#rek{
position: absolute;
right: 75px;
bottom: 10px;
}
div#nav{
width: 885px;
height: 35px;
border-top: 1px #d1d0d0 solid;
border-bottom: 1px #d1d0d0 solid;
}
div#nav li{
list-style-type: none;
float: left;
font-size: 0.75em;
line-height: 3em;
}
div#nav li a{
color: #969696;
text-decoration: none;
padding: 0 10px;
border-right: 1px #d1d0d0 solid;
}
div#nav li a:hover{
background: #8eaa21;
}
#header {
width: 833px;
margin: 0 auto;
font-size: 1px;
border-bottom-style: dotted;
border-left-style: dotted;
border-right-style: dotted;
border-color: #cccccc;
border-width: 1px;
padding: 25px;
}
a:hover{
text-decoration:none;
}
.hdbg {
background-image: url(http://blogi.kleszczyk.pl/images/tlolog.jpg);
background-repeat: no-repeat;
background-position: top center;
}
.shadowrighttop {
filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#00ffffff', startColorstr='#69B4ED', gradientType='1');
border-left-width: 1px;
border-left-style: solid;
border-left-color: #69B4ED;
}
.shadowlefttop {
filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#69B4ED', startColorstr='#00ffffff', gradientType='1');
border-right-width: 1px;
border-right-style: solid;
border-right-color: #69B4ED;
}
.hdlinebg {
background-color:#fff;
color:#a5a394;
border-right-style: dotted;
border-color: #cccccc;
border-width: 1px;
}
.textcol {
color:#000000;
}
.userpanelbg {
background-image: url(http://blogi.kleszczyk.pl/images/tlolog.jpg);
}
.userpaneltextcol {
color:#a5a394;
}
.userpanelhd {
background-color:#4cda38;
border-bottom-style: dotted;
border-color: #dadada;
border-width: 1px;
text-decoration: none;
color:#a5a394;
}
.userpanelhd_tekst{
text-decoration: none;
color:#a5a394;
}
.usermenubg{
background-image: url(http://blogi.kleszczyk.pl/images/tlomenu.jpg);
}
.usermenupulsant{
filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#55ABEA', startColorstr='#54A8ED', gradientType='0');
border-spacing: 0mm;
}
.ndarje {
border-right-width: 3px;
border-right-style: solid;
border-right-color: #3F9EE5;
}
.usermenulink {
color:#FFFFFF;
}
.buttons
{
color:#5e5e5c;
background-color:#fff;
border-style: dotted;
border-color: #cccccc;
border-width: 1px;
}
.userbg {
background-color: #DBEDFB;
}
.userhd {
background-color:#99CC00;
color:#FFFFFF;
font-family:"Trebuchet MS",Arial;
font-size:23px;
font-weight:bold;
}
.usermain{
background-color:#FFFFFF;
}
.somestyle{
background-color:#E2E2E2;
}
.newstitle{
color:#FFFFFF;
font-weight:bold;
padding-top: 5px;
}
.newsdescp{
color:#1672B6;
}
.newsauthor{
color:#FFFFFF;
}
.newscomments{
color:#FFFFFF;
}
#menu {
width: 540px;
height: 20px;
font-size: 1px;
border-bottom-style: dotted;
border-left-style: dotted;
border-right-style: dotted;
border-color: #cccccc;
border-width: 1px;
float:left;
padding: 5px;
}
#menu_prawa {
width: 280px;
height: 20px;
font-size: 1px;
border-bottom-style: dotted;
border-right-style: dotted;
border-color: #cccccc;
border-width: 1px;
float:left;
padding: 5px;
}
#tekst {
font-size: 11px;
font-family: Arial;
text-align: left;
color:#5e5e5c;
text-decoration: none;
padding: 3px;
}
#tekst a {
font-size: 11px;
font-family: Arial;
text-decoration: none;
color:#a5a394;
font-weight:bold
}
Pozdrawiam
RE: nie wyświetla mi grafiki w internet explorer - www.skrypty.pro - 19-01-2011
Ale nic Ci nie wyświetla ? mógł byś podać jakiś link ?
RE: nie wyświetla mi grafiki w internet explorer - kulitom - 19-01-2011
RE: nie wyświetla mi grafiki w internet explorer - nst - 19-01-2011
w stylu .usermenubg masz tylko ścieżkę do tła, ustaw jeszcze atrybuty żeby wiedział jak wyświetlać.
RE: nie wyświetla mi grafiki w internet explorer - kulitom - 19-01-2011
Ustawiłem tak:
background-image: url(http://blogi.kleszczyk.pl/images/tlomenu.jpg);
background-repeat: no-repeat;
background-position: center;
width: 700px;
height: 50px;
Czy to dobrze? Bo dalej nie wyświetla.
|