Autor Zpráva
dalinho
Profil
Dobrý den,
v tvorbě webu jsem úplný začátečník a potýkám se s problémem. Stránka mi jde zobrazit pouze v Internet explorer (také v náhledu PS pad) už ji ale bohužel nezobrazím například v google chrome nebo opeře (pouze rozházeně bez css stylu Náhled. Zkusil jsem měnit kodování ale nepomohlo. Máte prosím nějaký návrh co s tím? Předem děkuji.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Lineage II Historystar</title>
<script type="text/javascript" src="extjs/ext-base.js" tppabs="http://www.l2elwyn.com/extjs/ext-base.js"></script>
<script type="text/javascript" src="extjs/ext-all.js" tppabs="http://www.l2elwyn.com/extjs/ext-all.js"></script>
<script type="text/javascript" src="js/alert.js" tppabs="http://www.l2elwyn.com/js/alert.js"></script>
<script type="text/javascript" src="js/lightbox.js" tppabs="http://www.l2elwyn.com/js/lightbox.js"></script>
<script type="text/javascript" src="js/javascript.js" tppabs="http://www.l2elwyn.com/js/javascript.js"></script>

<link rel="stylesheet" href="css/lightbox.css" tppabs="http://www.l2elwyn.com/css/lightbox.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css" tppabs="http://www.l2elwyn.com/css/style.css" type="text/css" media="screen" />
<!--[if lte IE 6]><link rel="stylesheet" href="css/ie6fix.css" tppabs="http://www.l2elwyn.com/css/ie6fix.css" type="text/css" media="screen" /><![endif]-->
    
</head>
<body>
<div style="visibility: hidden; position: absolute"><iframe name="submits" style="visibility: hidden; position:absolute"></iframe></div>
<div id="AlertMSG" style="visibility: hidden; position: absolute; margin: 0px; border: 0px; z-index: 5">
    <table border="0" cellspacing="0" cellpadding="0" class="alertwindow">
    <tr><td>
    <table style="width: 100%" border="0" cellspacing="2" cellpadding="0" onMouseDown="mover('AlertMSG')">
         <tr>
         <td style="width: 370px">Message Window</td>
         <td id="reputo1" style="width: 18px" class="menu_off" onMouseOver="this.className='menu_on'" onMouseOut="this.className='menu_off'">X</td>
         <td width="2px"></td>
         </tr>
         <tr><td colspan="3"><hr style="height: 1px; border-bottom: 1px solid #736143; border-top: 0px; margin: 0px"></td></tr>
 
     </table>
    </td></tr>
    <tr><td>
    <table style="width: 100%" border="0" cellspacing="2" cellpadding="0">
        <tr><td style="height: 20px"></td></tr>
        <tr><td align="center"><textarea id="alerttext" class="alertmsg">Si estas leyendo esto es porque tu browser no soporta cambios dinamico en la pagina, anda cambiando por un browser como la gente...</textarea></td></tr>
        <tr><td style="height: 20px"></td></tr>
    </table>
    </tr></td>
    <tr><td>
    <table style="width: 100%" border="0" cellspacing="1" cellpadding="0">
        <tr><td colspan="3"><hr style="height: 1px; border-bottom: 1px solid #736143; border-top: 0px; margin: 0px"></td></tr>
        <tr>
        <td style="width: 150px"></td>
        <td><table border="0" cellspacing="2" cellpadding="2"><tr>
            <td id="reputo2" style="width: 90px" class="menu_off" onMouseOver="this.className='menu_on'" onMouseOut="this.className='menu_off'">Close</td></tr>

        </tr></table></td>
        <td style="width: 150px"></td>
        </tr>
        <tr><td style="height: 3px"></td></tr>
    </table>
    </td></tr>
    </table>
</div>

<center>
<table cellpadding="0" cellspacing="0" class="header">
<tr>
    <!--[if lte IE 6]><td width="235px"></td><![endif]-->
    <td valign="top" class="menu">

<!--
    <div style="float: left; position: absolute; top: 213px; padding-left: 597px;">
        <table style="background: url(images/layout/test.jpg) no-repeat; width: 245px; height: 74px;">
        <tr><td align="center" style="font-weight: bold; color: #EAE5D0; height: 15px; padding-top: 10px;">Nation War</td></tr>
        <tr><td align="center" style="padding-bottom: 20px;"><script language="JavaScript" src="js/countdown.js"></script></td></tr>
        </table>
    </div>
-->
    <div>
        <ul>
        
        <li><a href="index.html" tppabs="http://www.l2.historystar.eu/index.html">Domu</a></li>
        
        <li><a href="kestazeni.html" tppabs="http://www.l2.historystar.eu/kestazeni.html">Ke stazeni</a></li>
        
        <li><a href="oserveru.html" tppabs="http://www.l2.historystar.eu/oserveru.html">O serveru</a></li> 
     
        <li><a href="http://forum.historystar.eu/index.php" tppabs="http://forum.historystar.eu/index.php">Forum</a></li> 
    
        <li><a href="kontakty.html" tppabs="http://www.l2.historystar.eu/kontakty.html">Kontakty</a></li>   
    
        </ul>
    </div>
    </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="wrap_content">
<tr>
    <td>
    <table cellpadding="0" cellspacing="0" width="100%" border="0">
    <tr>
        <td class="wrap_left" align="left" valign="top">
        <div class="menu_left_top" onClick="location.href='http://l2.historystar.eu/oserveru.html'"></div>
        <div class="menu_left"><img src="images/layout/menu_left.jpg" tppabs="http://www.l2elwyn.com/images/layout/menu_left.jpg" border="0" usemap="#Map" />
            <map name="Map" id="Map">
                    <area shape="rect" coords="7,12,87,62" href="http://thepiratebay.se/torrent/5332437/Lineage_2_Interlude_C6_Client">
                    <area shape="rect" coords="91,12,171,63" href="http://forum.historystar.eu/index.php">
                    </map>
        </div>
        <div class="server_list">
            
            <div><font class="Offline">Offline</font><font class="server_count"></font>
            <div class="server_info">Login Server</div></div>
                
            <div><font class="Offline">Offline</font><font class="server_count"></font>
            <div class="server_info">Game server</div></div>
                
        </div>
        <div class="menu_left_bottom">
            <div><a href="odkaz statistik" tppabs="http://foros.gxzone.com/#servidores_gx"><img src="images/layout/boton1.gif" tppabs="http://www.l2elwyn.com/images/layout/boton1.gif" border="0" /></a></div>
    
            </div>
        </td>
        <td class="wrap_middle" valign="top">
            <div class="headlineA">Oznameni</div>
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" style="border-bottom: 3px solid #B1A692; text-align:left;">
<br>
<td align="center">Robbie (26.12.2012):
<br>
<table align="center">Vitame Vas na strankach Lineage 2 Interlude serveru History.




    </td>
</tr>
</table>

        </td>
        </tr>
        <tr><td></td><td class="footer-center"><div class="footer-left"><div class="footer-right">&nbsp;</div></div></td>
    </table>    
    </td>
</tr>
</table>

<div class="footer">Pro L2 history vytvoril Robbie. Vsechna prava vyhrazena.</div>

</center>

</body>
</html>
weroro
Profil
Súbor so štýlmi, na ktorý odkazuješ http://www.l2elwyn.com/css/style.css asi neexistuje.
Trejpa
Profil
dalinho:
Je to kvůli komentářům vloženým přímo do deklarace importů v souboru style.css, s čímž si všechny prohlížeče neporadí:
@import url("header.css"/*tpa=http://www.l2elwyn.com/css/header.css*/);

Takže pokud potřebuješ napsat, odkud styly pocházejí, použij komentář mimo deklaraci:
@import url("header.css");/*tpa=http://www.l2elwyn.com/css/header.css*/

Pokud je nepotřebuješ, komentáře smaž.

weroro:
Súbor so štýlmi, na ktorý odkazuješ, asi neexistuje.
Na tom souboru nezáleží, jeho adresa je uvedena v parametru tppabs, ne v rel.
dalinho
Profil
Tak mockrát děkuji za radu, ovšem při odstranění komentářů sice malé zlepšení vidět je ale pozadí se nezobrazuje a horní menu není správně teď už i v exploreru. http://www.hektos.funsite.cz
venca163
Profil
dalinho:
Kouknul jsem na to ve firefoxu a IE a vypadá to zhruba stejně. Zjistil jsem, že styly pro horní menu neexistují, jsou definované pouze tady: http://www.hektos.funsite.cz/css/ie6fix.css . Tento css soubor je ale definovaný jen pro IE verze starší než 6.

Závěr: musíš ostylovat horní menu třeba tady http://www.hektos.funsite.cz/css/style.css .

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0