Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
błąd w kodzie html - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: Początkujący webmaster (https://www.webmastertalk.pl/forum-poczatkujacy-webmaster)
+--- Wątek: błąd w kodzie html (/thread-blad-w-kodzie-html)

Strony: 1 2


błąd w kodzie html - stozek419 - 20-07-2011

Potrzebuje pomocy! napisalem kod html do strony www w programie 'zjaczek' wszystko dziala ok ale po wrzuceniu na serwer ftp brak tla przyciskow jest tylko animacja flasz oraz napis glowny>>>oto kod

Kod:
<!--HEADER-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<META HTTP-EQUIV="Creation-date" CONTENT="2002.03.16">
<META HTTP-EQUIV="Reply-to" CONTENT="adres zwrotny">
<META NAME="Description" CONTENT="">
<META NAME="Author" CONTENT="">
<META NAME="Generator" CONTENT="">
<TITLE></TITLE>
</HEAD>
<BODY>
<!--/HEADER-->

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
</head>
<body style="margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden">
<div style="position: absolute; z-index: 2; width: 100%; height: 100%; overflow: auto">
<div style="margin: 10px">

<a href="C:\Documents and Settings\admin\Moje dokumenty\stronki w remoncie\index.html"><img style="border-style: none" alt="" src="file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg.jpg" onmouseout=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg.jpg' " onmouseover=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg1.jpg' " onmousedown=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg2.jpg'"hspace="0" vspace="150 " /></a>
<a href="C:\Documents and Settings\admin\Moje dokumenty\stronki w remoncie\index1.html"><img style="border-style: none" alt="" src="file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/g.jpg" onmouseout=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/g.jpg' " onmouseover=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/g1.jpg' " onmousedown=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/g2.jpg'"hspace="0" vspace="150 " /></a>
<a href="C:\Documents and Settings\admin\Moje dokumenty\stronki w remoncie\index2.html"><img style="border-style: none" alt="" src="file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/b.jpg" onmouseout=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/b.jpg' " onmouseover=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/b1.jpg' " onmousedown=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/b2.jpg'"hspace="0" vspace="150 " /></a>
<a href="C:\Documents and Settings\admin\Moje dokumenty\stronki w remoncie\index3.html"><img style="border-style: none" alt="" src="file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/d.jpg" onmouseout=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/d.jpg' " onmouseover=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/d1.jpg' " onmousedown=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/d2.jpg'"hspace="0" vspace="150 " /></a>




<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0">
<PARAM NAME=movie VALUE="anim peempro.swf">
<PARAM NAME=quality VALUE=low>
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<EMBED SRC="anim peempro.swf" QUALITY="low" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></EMBED></OBJECT>

<P ALIGN="CENTER"><font size="+3" color=#F9900F>WITAMY NA STRONIE
<U>PEEMPRO</U></P>
<P ALIGN="LEFT">LUBELSKI HIP-HOP (PODZIEMIE)
</font></P>

<embed id=Player scale="noScale" salign="TL" src="http://mail.google.com/mail/html/audio.swf?audioUrl=[url=http://mp3wow.pl/mp3,PEEMPRO+-+Lege+Artis,494077" wmode="opaque" quality="best" bgcolor="#EEEEEE" width="500px" height="27px" name="Player" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />.</embed>





</div>
</div>

<div><img src="pe1.jpg" alt="" style="width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 1" /></div>




<!--FOOTER-->
</BODY>
</HTML>
<!--/FOOTER-->



RE: błąd w kodzie html - zacharij - 20-07-2011

podstawowy błąd, błędne ścieżki do plików


RE: błąd w kodzie html - michalszyd - 20-07-2011

Po co takie odnośniki
Kod:
<a href="C:\Documents and Settings\admin\Moje dokumenty\stronki w remoncie\index.html">
Można to zastąpić
Kod:
<a href="index3.html">

To samo tyczy się obrazków.
Jak wszystko wrzucisz na serwer, powinno być dobrze.


RE: błąd w kodzie html - stozek419 - 20-07-2011

zrobilem tak i nic brak tapety aby napis i dwa obiekty flash!
a te sciezki to buttony wygenerowane programem button shop 4 jako kod html

<a href="index.html"><img style="border-style: none" alt="" src="file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg.jpg" onmouseout=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg.jpg' " onmouseover=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg1.jpg' " onmousedown=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg2.jpg'"hspace="0" vspace="150 " /></a>

zmieniajac sciezke niemam buttonow zreszta i tak niemam tak samo jak i tla

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
</head>
<body style="margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden">

<div style="position: absolute; z-index: 2; width: 100%; height: 100%; overflow: auto">
<div style="margin: 10px">

<div><img src="pe1.jpg" alt="" style="width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 1" /></div>

wraz z tlem

POMOCY stoje w miejscu

a to ta strona

http://peempro.polspeed.0lx.net/


RE: błąd w kodzie html - michalszyd - 20-07-2011

Kod:
<img style="border-style: none" alt="" src="file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg.jpg" onmouseout=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg.jpg' " onmouseover=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg1.jpg' " onmousedown=" this.src='file:///C:/Documents%20and%20Settings/admin/Moje%20dokumenty/stronki%20w%20remoncie/sg2.jpg'"hspace="0" vspace="150 " />
Zamień na
Kod:
<img style="border-style: none" alt="" src="sg.jpg" onmouseout=" this.src='sg.jpg' " onmouseover=" this.src='sg1.jpg' " onmousedown=" this.src='sg2.jpg'"hspace="0" vspace="150 " />

Powtórz to ze wszystkimi img


RE: błąd w kodzie html - stozek419 - 20-07-2011

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
</head>
<body style="margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden">

<div style="position: absolute; z-index: 2; width: 100%; height: 100%; overflow: auto">
<div style="margin: 10px">

<div><img src="pe1.jpg" alt="" style="width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 1" /></div>

jeszcze jak bys mi michalszyd pomogl z tlem byl bym wdzieczny


RE: błąd w kodzie html - michalszyd - 20-07-2011

Tło obrazkowe czy jednokolorowe?
Jednokolorowe:
Kod:
<body style="margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background-color: #000000;">
Gdzie w miejscu "000000" wstawiasz dowolny kod koloru http://www.statom.pl/HTML/kolory.html

Jeżeli tło obrazkowe to:
Kod:
<body style="margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: url(obraz.jpg);">
Gdzie w miejscu "obraz.jpg" wstawiasz nazwę tła wraz z rozszerzeniem. Plik oczywiście wrzucasz na serwer.


RE: błąd w kodzie html - stozek419 - 20-07-2011

czarno biale z zoltym napisem


RE: błąd w kodzie html - michalszyd - 20-07-2011




RE: błąd w kodzie html - stozek419 - 20-07-2011

a jak plik chce podac z dysku
da rade tak?