...

View Full Version : Weird Behaviour - SOLVED!!! :D



BabyJack
05-18-2008, 12:09 PM
Hey! I just opened my site and is completely different on Notepad and the Web.

URL: http://wifee.missingstudios.com/
Notepad: http://i32.tinypic.com/1239tm8.jpg

Look at all my codes (the pages are not up yet) and see what is happening. Both codes are the same.

CODE:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="EA.ico" rel="Shortcut Icon" />
<body onLoad="goforit()">
<div id="logo"><div id="clock"><script>
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array

("January","February","March","April","May","June","July","August","September","October","November","December")

function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="AM"
if (hours>=12)
dn="PM"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<small><font color='000000' face='Century Gothic' weight='normal'><b>"+dayarray[day]+", "+montharray[month]+"

"+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></small>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}

</script></div>
<span id="clock"></span></div>

<title>Wifeeee! Sensational Simming Summer</title>

<style type="text/css">
/*<![CDATA[*/
div.c2 {text-align: center}
div.c1 {clear:both;}
/*]]>*/
</style>
</head><body>
<body onload="new Accordian('basic-accordian',5,'header_highlight');">

<div id="thanks"><div id="official">Employee? Log in <a href="Employees.php">here</a>!</div><form id="login"> Username: <input

type="text" class="theInput" name="user" value="Username" onClick="reset" />
Password: <input type="password" class="theInput" name="password" value="password" />
<input type="submit" name="Submit" class="theSubmit" value="Login!" />
</form>
</div>
<div id="wrapper">
<div id="nav"><?php include("nav.php"); ?></div>
<div id="content">
<h1>Welcome to Wifee! - BabyJack - 17 May</h1>
Over the week-end, many modifications will be made to Wifee. There is a list of things to come below. Why not have a look around?
<ul style="list-style-image: url(images/bullet.gif)">
<li>New login form!</li>
<li>Cutenews coming soon!</li>
<li>PHPBB is coming soon!</li>
<li>Clock</li>
<li>Media Player</li>
<li>Video Player</li>
<li>CSS Modifications</li>
<li>Alot of downloads!</li>
<li>Graphical Effects</li>
<li>Javascript</li>
</ul>
and alot more! Stick around and wait for some more updations =]<br>
If you want to find out more about the new features, go <b><a href="Wifeeeee.php">here</a></b> instead of relying on the Main site

news.
</div>
<div class="c1"></div>
</div>
<div class="c2" id="footer">Copyright Wifee 2008 - Some Rights Reserved - Partly coded & Banner partly made by <a

href="http://www.simsmad.co.uk" target="_blank"><em>Simsmad</em></a> - Design by Me.</div>
</body>
</html>



Any help is VERY much appreciated



SOLUTION: (due to getting a red box :( ) - I deleted the div's in the nav.php file.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum