Iets mis met tr's

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

General.Inferno

General.Inferno

05/01/2005 17:52:00
Quote Anchor link
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
<?  
    $microtime
= microtime();  
    $split = explode(" ", $microtime);  
    $exact = $split[0];  
    $secs = date("U");  
    $bgtm = $exact + $secs;  
?>


<html>
<head>
<title>United Battle Corporation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">

<style>
<!--

A.type:link {color:#979797; text-decoration:underline;}
A.type:visited {color:#979797; text-decoration:underline;}
A.type:active {color:#979797; text-decoration:underline;}
A.type:hover {color:#FFFFFF; text-decoration:underline;}

//-->
</style>

<script>
<!--
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

//-->
</script>

<SCRIPT LANGUAGE="JavaScript">
<!--
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
//-->
</SCRIPT>

<script language="JavaScript">
<!--
var Message=":: UBC :: United Battle Corporation :: America's Army clan";
var place=1;
function rollIn() {
document.title=Message.substring(0, place);
if (place >= Message.length) {
place=1;
window.setTimeout("dragOut()",300);
}
else {
place++;
window.setTimeout("rollIn()",50);
}
}
function dragOut() {

document.title=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("rollIn()", 100);
}
else {
place++;
window.setTimeout("dragOut()", 50);
}
}
//-->
</script>

<script language=VBScript>
<!--
Dim Bar, Line, SP
Bar = 0
Line = "|"
sP = 100

Function Window_onLoad()
Bar = 95
sP = 10
END Function

Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Aantal sec + voortgang: " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Alles geladen"
Document.Body.Style.Display = ""
End If
End Function

Call Count()
-->
</script>

</head>

<body background="images/backgrounds/background.png">

<table width="950" align="center" cellpadding="0" cellspacing="0">

<tr>
<td width="950" height="120">
<img width="950" height="120" src="images/logos/clanbanner.png">
</td>
</tr>

<tr width="950" heigth="15">
<td class="border1" heigth="14" width="950" background="images/backgrounds/background1.png"><div align="right">
<right>
<script language="javascript">
<!--
document.write('<input onSelectstart="return false;" style="background: ; cursor: default; color: #919191; border: 0px ridge #CCFFCC; font-family: "Verdana"; font-size: "9"; system" value="Loading..." type="text" name="klokje" size="18" readonly>')
function geefdeklok()

{
var klok = new Date()
var dagen = klok.getDate()
if(dagen<10)
dagen = "0" + dagen
var maanden = klok.getMonth() + 1
if(maanden<10)
maanden = "0" + maanden
var jaren = klok.getFullYear()
var uren = klok.getHours()
if(uren<10)
uren = "0" + uren
var minuten = klok.getMinutes()
if(minuten<10)
minuten = "0" + minuten
var seconden = klok.getSeconds()
if(seconden<10)
seconden = "0" + seconden
var detijd = dagen+"-"+maanden+"-"+jaren+" | "+uren+":"+minuten+":"+seconden;
klokje.value = " " + detijd;
}
setInterval("geefdeklok()", 1000)
// -->
</script>
</right>
</div>

</td>
</tr>

<table cellspacing="0" cellpadding="0" align="center" width="950">
<tr>


<td width="160">

<table width="160" align="center" cellspacing="0" cellpadding="0">

<tr>
<td align="center" width="16" border="0" height="12"><img src="images/footers/leftabove.gif">
</td>
<td align="center" width="128" border="0" height="12"><img width="128" height="13" src="images/footers/above.gif">
</td>
<td align="center" width="16" border="0" height="12"><img src="images/footers/rightabove.gif">
</td>
</tr>
<tr>
<td align="center" width="13" background="images/footers/headbarleft.gif">
</td>
<td align="center" width="128" class="linkfont" bgcolor="#000000">&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;About us</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;News</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Polls</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Log in</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Register</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
<br>&nbsp;<a href="index.php" class="type">&raquo;&nbsp;Startpage</a>
</td>
<td align="center" width="13" background="images/footers/headbarright.gif">
</td>
</tr>
<tr>
<td align="center" width="16" height="12"><img src="images/footers/leftunder.gif">
</td>
<td align="center" width="128" height="12"><img width="128" height="12" src="images/footers/under.gif">
</td>
<td align="center" width="16" height="12"><img src="images/footers/rightunder.gif">
</td>
</tr>

</table>

</td>


************************************************************************************

De td's sluiten mooi op elkaar aan maar de tr's niet hoe kan dat?
 
PHP hulp

PHP hulp

27/12/2024 15:03:05
 
Winston Smith

Winston Smith

05/01/2005 17:55:00
Quote Anchor link
Eentje teveel of te weinig. Kijk eens bij scripts, daar staat ook een mooi script tussen waarbij je kan checken hoeveel <td> en <tr> je hebt en hoeveel </td> en </tr>. Dan kan je kijken of je ze allemaal goed afgesloten hebt.

Edit:
Omdat ik zo vriendelijk ben: link
Gewijzigd op 05/01/2005 17:57:00 door Winston Smith
 
General.Inferno

General.Inferno

05/01/2005 18:18:00
Quote Anchor link
ja dat klopt wel maar ik bedoel dat er steeds een pixel teveel tussen zit: www.ubc-clan.nl
 
Winston Smith

Winston Smith

05/01/2005 20:01:00
Quote Anchor link
<TABLE cellspacing="0" cellpadding="0" border="0"> Werkt zoiets niet?
 
Erick Schluter

Erick Schluter

05/01/2005 20:50:00
Quote Anchor link
Ik dacht ook niet dat je een 'height' van een <td> of iets dergelijks kon bepalen...Zal de oplossing niet zijn, maar toch !
 
General.Inferno

General.Inferno

06/01/2005 10:41:00
Quote Anchor link
nee dat lukt ook niet Kasper maar ik moet niks in de td's of tr's veranderen ofzo?
 
B a s
Beheerder

B a s

06/01/2005 11:56:00
Quote Anchor link
defineer je paddings of margins in style.css ??
 
General.Inferno

General.Inferno

06/01/2005 12:32:00
Quote Anchor link
Dit is mijn CSS:

/* CSS Document */
BODY {
direction:;
background-attachment:fixed;
scrollbar-arrow-color: 919191;
scrollbar-track-color: 000000;
scrollbar-face-color: 000000;
scrollbar-highlight-color: BCBCBC;
scrollbar-3dlight-color: 222222;
scrollbar-darkshadow-color: 000000;
scrollbar-shadow-color: 222222;
}
.smallfont {
font-family: Verdana;
font-size: 9px;
font-style: normal;
line-height: normal;
color: #FFFFFF;
horizontal-align: center;
text-align: right;
}
.linkfont {
font-family: Verdana;
font-size: 9px;
font-style: normal;
line-height: normal;
color: #919191;
horizontal-align: center;
}
.border1 {
font-family: Verdana;
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #FFFFFF;
letter-spacing: normal;
vertical-align: middle;
cursor: text;
text-align: left;
word-spacing: normal;
border: 1px double #919191;
}
.textfield {
font-family: Verdana;
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #FFFFFF;
letter-spacing: normal;
vertical-align: middle;
background-color: #000000;
cursor: text;
text-align: left;
word-spacing: normal;
display: list-item;
border: 1px ridge #919191;
clip: rect(auto auto auto auto);
font-variant: normal;
text-transform: none;
text-decoration: blink;
}
.button {
font-family: Verdana;
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: bold;
color: #919191;
letter-spacing: normal;
vertical-align: middle;
background-color: #000000;
cursor: hand;
text-align: center;
word-spacing: normal;
display: list-item;
border: 1px ridge #919191;
clip: rect(auto auto auto auto);
font-variant: normal;
text-transform: none;
text-decoration: underline blink;
}
 
General.Inferno

General.Inferno

07/01/2005 09:56:00
Quote Anchor link
hier kan je het probleem bekijken: http://www.ubc-clan.nl
 
General.Inferno

General.Inferno

07/01/2005 12:55:00
Quote Anchor link
Probleem is al opgelost.
Tip voor de mensen die het zelfde willen doen als mij:
Gebruik je images als background en niet als gewone image :S
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.