Nieuw lid |
|
ik heb een layout gemaakt met css en nu heb ik er een FCKeditor ingebouwd alleen als ik de tekst opsla en dan naar die pagina ga staat er een witte regel en daaronder mijn tekstje http://www.janwillem-117.nl/downloads.php
dit is alleen in firefox zo, in ie doet ie het wel
Wie kan helpen?
dit is mijn code :
<?php function nukeMagicQuotes() {
if (get_magic_quotes_gpc()) {
function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
return $value;
}
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
}
}
?>
<?php nukeMagicQuotes(); ?>
<?php
// Connect to the database
$cnx = mysql_connect("database", "zegikniet", "zegikniet");
if (!$cnx) {
die("Unable to connect to database!");
}
// Select your database
mysql_select_db("zegikniet", $cnx);
// Get data from the database
$query = mysql_query("SELECT data FROM fck_data WHERE id = 2");
$data = mysql_fetch_array($query);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<script type="text/javascript" language="JavaScript1.2" src="um_menu.js"></script>
<title>Home - JanWillem-117</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stijl.css" />
<style type="text/css">
.style1 {
text-align: center;
}
.style2 {
font-size: small;
}
.style3 {
border-width: 0px;
}
</style>
</head>
<body style="background-color: #ECECEC">
<div id='header' class="style1"><a href="http://janwillem-117.nl/"><img alt="" src="images/header.png" width="800" height="150" class="style3" /></a></div>
<div id="content-menu">
<div id="menu"><br/><script type="text/javascript" language="JavaScript1.2" src="menu.js"></script></div>
<div id="content"><?php echo $data[data]; ?></div></div>
<div id="bottom" class="style1"><br />
<span class="style2">© 2008, Jan-Willem Sterkenburg</span></div>
</body>
</html>
<?php function nukeMagicQuotes() { function stripslashes_deep($value) { return $value; } $_POST = array_map('stripslashes_deep', $_POST); $_GET = array_map('stripslashes_deep', $_GET); $_COOKIE = array_map('stripslashes_deep', $_COOKIE); } } ?> <?php nukeMagicQuotes(); ?> <?php // Connect to the database if (!$cnx) { die("Unable to connect to database!"); } // Select your database // Get data from the database $query = mysql_query("SELECT data FROM fck_data WHERE id = 2"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <script type="text/javascript" language="JavaScript1.2" src="um_menu.js"></script> <title>Home - JanWillem-117</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="stijl.css" /> <style type="text/css"> .style1 { text-align: center; } .style2 { font-size: small; } .style3 { border-width: 0px; } </style> </head> <body style="background-color: #ECECEC"> <div id='header' class="style1"><a href="http://janwillem-117.nl/"><img alt="" src="images/header.png" width="800" height="150" class="style3" /></a></div> <div id="content-menu"> <div id="menu"><br/><script type="text/javascript" language="JavaScript1.2" src="menu.js"></script></div> <div id="content"> <?php echo $data[data ]; ?></div></div> <div id="bottom" class="style1"><br /> <span class="style2">© 2008, Jan-Willem Sterkenburg</span></div> </body> </html>
|