stránka nalepená úplne na hornom okraji
-
SlivkaDesign
Light Star
- Príspevky: 270
- Registrovaný: 30 okt 2007, 14:46
- Kontaktovať používateľa:
stránka nalepená úplne na hornom okraji
Prosim Vas potrebujem všetky možnosti ako spraviť web tak ... aby začínal od hora úplne od hora ... skúšal som toto
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
ale nejde mi to .... stránka je robená cez php include, poradí mi niekto spôsoby ako sa to dá ešte spraviť?
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
ale nejde mi to .... stránka je robená cez php include, poradí mi niekto spôsoby ako sa to dá ešte spraviť?
Kód: Vybrať všetko
<style type="text/css">
html, body
{
padding: 0;
margin: 0;
}
</style>-
SlivkaDesign
Light Star
- Príspevky: 270
- Registrovaný: 30 okt 2007, 14:46
- Kontaktovať používateľa:
-
SlivkaDesign
Light Star
- Príspevky: 270
- Registrovaný: 30 okt 2007, 14:46
- Kontaktovať používateľa:
okey tak dám kod jasne :
header.php
header.php
body.php<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" type="image/x-icon" href="favicon.gif">
<title></title>
<link rel="stylesheet" href="style/style.css" type="text/css" charset="utf-8">
<meta name="author" content="">
<meta name="copyright" content="">
<meta name="robots" content="all, follow">
<meta http-equiv="content-language" content="sk">
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen">
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript">
setInterval ("reload()", 10000);
function reload()
{
window.frames['iframe'].location = "radio_stats.php"
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function openWindow() {
window.open("","WEBPLAYER",'toolbar=0,location=0,scrollbars=1,width=200,height=210,resizable=1,top=200,left=20');
}
//-->
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="781" border="0" cellpadding="0" cellspacing="0" bgcolor="#484d51" align="center" >
<tr>
<td colspan="6">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shoc ... on=6,0,0,0"
WIDTH="780" HEIGHT="237" id="0042" ALIGN="">
<PARAM NAME=movie VALUE="banner.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="banner.swf" quality=high bgcolor=#FFFFFF WIDTH="780" HEIGHT="237" NAME="0042" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</td>
<td>
<img src="images/1.gif" width="1" height="235" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="images/web_02.gif" width="557" height="1" alt=""></td>
<td colspan="2" rowspan="2">
<img src="images/web_03.gif" width="223" height="29" alt="Ankety a hlasovania"></td>
<td>
<img src="images/1.gif" width="1" height="1" alt=""></td>
</tr>
footer.php<tr>
<td colspan="2" rowspan="2">
<img src="images/i1.gif" width="290" height="31" alt="">
</td>
<td colspan="2" rowspan="2" background="images/i2.gif" width="267" height="31">
<div align="center" class="nadpis"><strong>O NÁS. KTO VLASTNE SME ?</strong></div>
</td>
<td>
<img src="images/1.gif" width="1" height="28" alt=""></td>
</tr>
<tr>
<td rowspan="2" background="images/web_06.jpg" width="222" height="213" valign="top">
<br>
<div align="center">
<!-- BlueBoard.cz Anketa -->
<iframe width="200" height="157" frameborder="0" scrolling="no" src="http://blueboard.cz/anketa_0.php?id=">
<a href="http://blueboard.cz/anketa_0.php?id=">Anketa</a> od <a href="http://blueboard.cz/">BlueBoard.cz</a>
</iframe>
<!-- BlueBoard.cz Anketa KONEC -->
</div>
</td>
<td>
<img src="images/web_07.jpg" width="1" height="3" alt=""></td>
<td>
<img src="images/1.gif" width="1" height="3" alt=""></td>
</tr>
<tr>
<td rowspan="2" bgcolor="#484d51" width="289" height="222" valign="top">
<div align="center">
<iframe id="iframe" name="iframe" src="stats.php" frameborder="0" height="400" width="250"></iframe>
</div>
</td>
<td colspan="2" rowspan="3">
<img src="images/web_09.jpg" width="2" height="380" alt=""></td>
<td rowspan="3" bgcolor="#484d51" width="266" height="380" valign="top">
<table cellpadding="5">
<tr>
<td>
<div class="text">
<strong>Kto sme?</strong>
<br>
abcdefg
</div>
</td>
</tr>
</table>
</div>
</td>
<td rowspan="3">
<img src="images/web_11.jpg" width="1" height="380" alt=""></td>
<td>
<img src="images/1.gif" width="1" height="210" alt=""></td>
</tr>
<tr>
<td rowspan="2" background="images/web_06.jpg" width="222" height="170" valign="top">
<div align="center"><img src="images/i3.gif"></div>
</td>
<td>
<img src="images/1.gif" width="1" height="12" alt=""></td>
</tr>
<tr>
<td>
<?php include "spusti.php"; ?>
</td>
<td>
<img src="images/1.gif" width="1" height="158" alt=""></td>
</tr>
<tr>
<td colspan="6" background="images/web_14.gif" width="780" height="25">
<div align="center" class="menu2">
<a href="1.php">O NÁS</a> | <a href="2.php">NÁŠ TEAM</a> | <a href="3.php">NOVINKY</a> | <a href="shoutbox.php" target="_blank">SHOUTBOX</a> | <a href="pages/5.php">KONTAKT</a>
</div>
</td>
<td>
<img src="images/1.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
<td colspan="6">
<div align="center" class="copyright">Copyright © 2008 , Všetky práva vyhradené</div>
</td>
<td>
<img src="images/1.gif" width="1" height="28" alt=""></td>
</tr>
<tr>
<td>
<img src="images/1.gif" width="289" height="1" alt=""></td>
<td>
<img src="images/1.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/1.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/1.gif" width="266" height="1" alt=""></td>
<td>
<img src="images/1.gif" width="222" height="1" alt=""></td>
<td>
<img src="images/1.gif" width="1" height="1" alt=""></td>
<td></td>
</tr>
</table>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "";
urchinTracker();
</script>
</body>
</html>
-
SlivkaDesign
Light Star
- Príspevky: 270
- Registrovaný: 30 okt 2007, 14:46
- Kontaktovať používateľa:
a dotaz ... mám to spojené cez súbor index.php (jeho kod je tu)
a v žiadnom prehliadači mi to nefunguje .... aj Opera aj Ie aj Mozilla ... všetko tak 30 px pod horným okrajom 
// Aké boom znaky?
Kód: Vybrať všetko
<?php
include ('header.php');
?>
<?php
include ('body.php');
?>
<?php
include ('footer.php');
?>// Aké boom znaky?
-
SlivkaDesign
Light Star
- Príspevky: 270
- Registrovaný: 30 okt 2007, 14:46
- Kontaktovať používateľa:
-
SlivkaDesign
Light Star
- Príspevky: 270
- Registrovaný: 30 okt 2007, 14:46
- Kontaktovať používateľa: