PDA

View Full Version : Validating Will Wreck My Site! :(


BabyJack
05-05-2008, 03:28 PM
I'm really annoyed - I went to validate my site - did everything they said, 0 errors and everything went haywire! I DONT EVEN HAVE A BACKUP OF MY SITE!!!

Everything was perfectly aligned and now it's all over the place!


GRRR... BabyJack

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html="http://www.w3.org/1999/xhtml">
<head>
<title>Wifee.co.uk - Enlighten Your Simming Experience :)</title>
<META NAME="RATING" CONTENT="general">
<META NAME="LANGUAGE" CONTENT="EN-GB">

<link rel="Stylesheet" href="Style.css" type="text/css" />
<link rel="shortcut icon" href="http://www.thesimsnews.com/images/v12/favicon.png" type=
"image/x-icon" />
</head>

<body background="Back.png" top="">

<div id="container">
<div id="text1">
<b><font color="#AAAAAA">Kwik-linkz™ |</font></b> <font color="#AAAAAA"><a href=
"Index.html">Home</a> - <a href="Contact.php">Contact Us</a> - <a href=
"To.html">How to</a> - <a href="Forum.php">Forum</a> - <a href="Employee.php">Thank
You's</a></font> - Total Hits: 4769


</div>
</div>

<h1 id="logo">Wifee.co.uk</h1><br />

<div id="text2">
<a href="Index.html">Home</a> - <a href="Downloads.html">Downloads</a> - <a href=
"Tutorials.htm">Tutorials</a> - <a href=
"Information.htm">Information</a> - <a href=
"Pictures.htm">Pictures</a> - <a href="Movies.htm">Movies</a> - <a href=
"Misc.htm">Miscellaneous</a> - <a href="Login.html" >Employee Login</a><br /></a>
<!-- News Begins -->

<div id="welcome"><font color="#FFFFFF"><center>
Welcome to Wifee!<br></div>

<!-- Player -->
<div id="player">
<object type="application/x-shockwave-flash"
data="http://www.muzicons.com/musicon.swf"
width="158" height="60">
<param name="movie"
value="http://www.muzicons.com/musicon.swf"/>
<param name="allowScriptAcess" value="sameDomain"/>
<param name="quality" value="best"/>
<param name="bgcolor" value="#141414"/>
<param name="FlashVars" value="icon_pic=0.png&music_file=AXICdkMN&bg_color=898989&type_of_clip=whith_bar&text_color=FFFFFF&text_message=Hmmmmm..."/>
</object>
</div>
<!-- Your Login -->
<div id="login"><form id="login"> Username: <input type="text" value="Username" class="theInput" name="user" />
Password: <input type="password" value="password" class="theInput" name="password" />
<input type="submit" class="formbutton" value="Submit" /></div>
</form>
<div id="break">__________________________________________________________________________<br></center></div>
<p class="poll">
</p>
</div></div></body></html>


body {
background : #000000 url(Back.png) no-repeat top center;
height : 500px;
min-height : 1250px;
margin : 0;
padding : 0;
color : #574f4f;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 0.9em;
}ocument.onclick=hidemenu
}
#container {
width : 920px;
margin : auto;
padding-top : 66px;
}
#logo {
width : 902px;
height : 112px;
margin : 0 auto;
padding : 0;
background : url(Banner.png) top center;
text-indent : -800em;
}
#main {
padding : 37px 20px;
}
#main p {
margin : 0;
padding : 10px 0;
}
#text1 {
padding : 0;
margin-top : -22px;
margin-right : 15px;
margin-bottom : 0;
margin-left : 20px;
font-size : 11px;
}
#text2 {
padding : 0;
margin-top : 0px;
margin-bottom : 0;
margin-left : 300px;
font-size : 11px;
}
a:link, a:visited, a:active {
text-decoration : none;
font-weight : bold;
color : #ffffff;
}
a:hover {
text-decoration : none;
font-weight : bold;
color : #aaaaaa;
}
#footer {
padding : 0;
margin-right : 15px;
margin-bottom : 400px;
margin-left : 40px;
font-size : 12px;
}
#marquee {
padding : 0;
margin-top : 10em;
margin-right : 15px;
margin-bottom : 0;
margin-left : 40px;
font-size : 3px;
}
#content {
padding : 0;
margin-top : 10em;
margin-right : 2px;
margin-bottom : 0;
margin-left : 200px;
font-size : 3px;
}
#text {
font-size : 16pt;
font-weight : bold;
margin-top : 1em;
margin-right : 260px;
}
body {
background : #000000 url(Back.png) no-repeat top center;
height : 500px;
min-height : 1250px;
margin : 0;
padding : 0;
color : #574f4f;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 0.9em;
}
#container {
width : 920px;
margin : auto;
padding-top : 66px;
}
#logo {
width : 902px;
height : 112px;
margin : 0 auto;
padding : 0;
background : url(Banner.png) top center;
text-indent : -800em;
}
#main {
padding : 37px 20px;
}
#main p {
margin : 0;
padding : 10px 0;
}
#text1 {
padding : 0;
margin-top : -22px;
margin-right : 15px;
margin-bottom : 0;
margin-left : 20px;
font-size : 11px;
}
a:link, a:visited, a:active {
text-decoration : none;
font-weight : bold;
color : #ffffff;
}
a:hover {
text-decoration : none;
font-weight : bold;
color : #aaaaaa;
}
#footer {
padding : 0;
margin-right : 15px;
margin-bottom : 400px;
margin-left : 40px;
font-size : 12px;
}
#marquee {
padding : 0;
margin-top : 10em;
margin-right : 15px;
margin-bottom : 0;
margin-left : 40px;
font-size : 3px;
}
body {
background : #000000 url(Back.png) no-repeat top center;
height : 500px;
min-height : 1250px;
margin : 0;
padding : 0;
color : #574f4f;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 0.9em;
}
#container {
width : 920px;
margin : auto;
padding-top : 66px;
}
#logo {
width : 902px;
height : 112px;
margin-top : -0px;
margin-right : 200px;
padding : 0;
background : url(Banner.png);
text-indent : -800em;
}
#main {
padding : 37px 20px;
}
#main p {
margin : 0;
padding : 10px 0;
}
#text1 {
padding : 0;
margin-top : -22px;
margin-right : 15px;
margin-left : 20px;
font-size : 11px;
}
a:link, a:visited, a:active {
text-decoration : none;
font-weight : bold;
color : #ffffff;
}
a:hover {
text-decoration : none;
font-weight : bold;
color : #aaaaaa;
}
#footer {
padding : 0;
margin-right : 15px;
margin-bottom : 400px;
margin-left : 40px;
font-size : 12px;
}
#marquee {
padding : 0;
margin-top : 10em;
margin-right : 15px;
margin-bottom : 0;
margin-left : 40px;
font-size : 3px;
}
.h1 {
font-size : 2em;
margin-top : 2em;
margin-right : 1em;
}
.centeredImage {
text-align : center;
margin-top : 230px;
margin-bottom : 0;
padding : 0;
}
.text11 {
text-align : center;
margin-bottom : -200px;
padding : 0;
font-family : arial;
}
.text12 {
text-align : center;
margin-top : 50px;
margin-bottom : 0;
padding : 0;
font-family : arial;
font-weight : bold;
}

#break {
margin-right: 240px;
margin-left: 80px;
}

#login {
margin-left: 60px;
}

#player {
margin-left:250px;

}

#welcome {
margin-top: 1em;
margin-left: -300px;
font-size : 16pt;
font-weight : bold;
}

#login .theInput {
font-family: Verdana;
font-size: 11px;
width: 110px;
margin-right: 0px;
color:#00BFFF;
}

.formbutton{
border:outset 1px #141414;
background:#141414;
color:#000000;
padding: 2px 5px;
font-family: Tahoma;
background:url(http://www.dynamicdrive.com/cssexamples/media/formbg.gif) repeat-x left top;
}

.vline {
p.solid {border-left-style: solid}
}

.poll {
margin-left: -1000px;
margin-right: 0px;
margin-top: ;
margin-bottom;
}

.affies {
margin-bottom: 1px

_Aerospace_Eng_
05-05-2008, 03:32 PM
Then post in the HTML/CSS forum so we can help you.

BabyJack
05-05-2008, 03:35 PM
Updated ;)

tomws
05-05-2008, 04:13 PM
Validate your css. Some things are broken, or else you copied/pasted wrong. http://jigsaw.w3.org/css-validator/

BabyJack
05-05-2008, 04:25 PM
Ive validated my CSS and it's gone weird - even more weird... Ive spent ages on doing my site and it all goes to waste.

tomws
05-05-2008, 04:31 PM
Always save and backup. Version control systems are your friend.

That being said, post updated code for more help, or better yet give a link. Most members (me included) aren't clairvoyant.

effpeetee
05-05-2008, 05:14 PM
You do have a back up here-

http://exitfegs.co.uk/wifee/index.html

and on your pm's to me.

http://codingforums.com/showthread.php?t=138477

BabyJack
05-05-2008, 08:58 PM
OH YEAH! I forgot about them ;)


Thanks effpeetee, you saved my butt!