eisdatop
Gebruiker
- Lid geworden
- 14 jul 2004
- Berichten
- 434
Ik heb bepaalde pagina's op mn site, die zeg maar niet doen wat de style.css zegt wat ze moeten weergeven!
De rest van de site doet dat wel, alleen bepaalde pagina's niet
Het gaat hier om de pagina's:
http://www.eisdatop.com/nieuws.php
en bij voorbeeld:
http://www.eisdatop.com/nieuws/artikel.php?id=17
Terwijl de andere pagina's wel goed worden weergegeven, is deze lettertype groter dan hij moet zijn!
Wie weet wat ik moet veranderen, of weet iemand waar het aan licht?
Hier de pagina bronnen:
Nieuws.php:
artikel.php:
en dan nog de Style.css:
body {
background-color: LIGHTSKYBLUE;
margin-top: 0px;
margin-bottom: 0px;
font: Arial;
font-size: 12px;
font-weight: bold;
color: DARKSLATEBLUE;
}
input, option, textarea, select, checkbox {
font-family: Verdana, Tahoma, Arial;
font-size: 8pt;
color: black;
font-weight: none;
border: 1px solid lightgray;
background-color: white;
}
a:link,a:visited {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: none;
color: darkblue;
}
a:active {
text-decoration: none;
color: darkblue;
font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
color: darkblue;
}
weet iemand waar het aan ligt?
De rest van de site doet dat wel, alleen bepaalde pagina's niet

Het gaat hier om de pagina's:
http://www.eisdatop.com/nieuws.php
en bij voorbeeld:
http://www.eisdatop.com/nieuws/artikel.php?id=17
Terwijl de andere pagina's wel goed worden weergegeven, is deze lettertype groter dan hij moet zijn!
Wie weet wat ik moet veranderen, of weet iemand waar het aan licht?
Hier de pagina bronnen:
Nieuws.php:
PHP:
<html>
<head><title>Nieuws pagina, Eisdatop.com</title>
<link rel="StyleSheet" type="text/css" href="style.css">
</head>
<body>
<div align="center"><font size=5><b>Nieuws</b></font><hr width="60%" noshade>
<br>
<script language="JavaScript">
function Smilie(smilie) {
var HetVeld = document.forms[0].elements[2];
HetVeld.value += smilie;
}
</script>
<?php
include("nieuws/config.php");
include("nieuws/smilies.php");
include("nieuws/ubb.php");
$select = "SELECT * FROM nieuws ORDER BY id DESC LIMIT 0,5";
$query = mysql_query($select);
while ($list = mysql_fetch_object($query))
echo("<table align=center border=0 cellpadding=1 cellspacing=0 style=border-collapse: collapse bordercolor=#111111 width=65% height=154>
<tr>
<td width=52% height=19 bgcolor=#FFBA75>$list->Naam</td>
<td width=48% height=19 bgcolor=#FFBA75>$list->datum</td>
</tr>
<tr>
<td width=100% height=18 colspan=2><b>$list->Titel</b></td>
</tr>
<tr>
<td width=100% height=115 colspan=2>".nl2br(SmiliesVervangen(UBBCodesVervangen(htmlspecialchars(stripslashes($list->Artikel)))))."</td>
</tr>
<tr>
<td width=50% height=18 colspan=2><a href=nieuws/reactie.php?nid=$list->id>Reageren</a> --||--
<a href=nieuws/artikel.php?id=$list->id>Bekijk reacties</a>
</td>
</tr>
</table><hr noshade width=70%><br>");
$select = "SELECT * FROM reacties WHERE nieuwsid='".$_GET['id']."'";
$query = mysql_query($select);
while ($reactie = mysql_fetch_object($query))
echo("<table align=center border=1 cellpadding=0 cellspacing=0 style=border-collapse: collapse bordercolor=#111111 width=39% height=20>
<tr>
<td width=52% height=1><a href=mailto:$reactie->Mail>$reactie->Naam</a></td>
<td width=48% height=1>$reactie->Datum</td>
</tr>
<tr>
<td width=100% height=18 colspan=2>".nl2br(SmiliesVervangen(UBBCodesVervangen(htmlspecialchars(stripslashes($reactie->Reactie)))))."
</td>
</tr>
</table><br>");
?>
</div>
<p><?php include('onder.php'); ?></p>
</body>
</html>
artikel.php:
PHP:
<html><style type="text/css">
</style>
<body><div align="center">
<?php
echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\"></link>";
include("config.php");
include("smilies.php");
include("ubb.php");
$select = "SELECT * FROM nieuws WHERE id='".$_GET['id']."'";
$query = mysql_query($select);
while ($list = mysql_fetch_object($query))
echo("<br><table align=center border=1 cellpadding=1 cellspacing=0 style=border-collapse: collapse bordercolor=#111111 width=65% height=154>
<tr>
<td width=52% height=19>gepost door: <b>$list->Naam</b></td>
<td width=48% height=19>$list->datum</td>
</tr>
<tr>
<td width=100% height=18 colspan=2><b>$list->Titel</b></td>
</tr>
<tr>
<td width=100% height=115 colspan=2>".nl2br(SmiliesVervangen(UBBCodesVervangen(htmlspecialchars(stripslashes($list->Artikel)))))."</td>
</tr>
<tr>
<td width=100% height=18 colspan=2><a href=reactie.php?nid=$list->id>Reageren</a>
</td>
</tr>
</table><br>");
$select = "SELECT * FROM reacties WHERE nieuwsid='".$_GET['id']."'";
$query = mysql_query($select);
while ($reactie = mysql_fetch_object($query))
echo("<table align=center border=1 cellpadding=0 cellspacing=0 style=border-collapse: collapse bordercolor=#111111 width=39% height=20>
<tr>
<td width=52% height=1><a href=mailto:$reactie->Mail>$reactie->Naam</a></td>
<td width=48% height=1>$reactie->Datum</td>
</tr>
<tr>
<td width=100% height=18 colspan=2>".nl2br(SmiliesVervangen(UBBCodesVervangen(htmlspecialchars(stripslashes($reactie->Reactie)))))."
</td>
</tr>
</table><br>");
?>
<div align="center">
<script language="JavaScript">
function Smilie(smilie) {
var HetVeld = document.forms[0].elements[2];
HetVeld.value += smilie;
}
</script>
</div>
</body>
</html>
en dan nog de Style.css:
body {
background-color: LIGHTSKYBLUE;
margin-top: 0px;
margin-bottom: 0px;
font: Arial;
font-size: 12px;
font-weight: bold;
color: DARKSLATEBLUE;
}
input, option, textarea, select, checkbox {
font-family: Verdana, Tahoma, Arial;
font-size: 8pt;
color: black;
font-weight: none;
border: 1px solid lightgray;
background-color: white;
}
a:link,a:visited {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: none;
color: darkblue;
}
a:active {
text-decoration: none;
color: darkblue;
font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
color: darkblue;
}
weet iemand waar het aan ligt?