Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-10-2008, 07:17 PM   PM User | #1
ingeborgh
New Coder

 
Join Date: Nov 2008
Location: Norway
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
ingeborgh is an unknown quantity at this point
Question Validating my site... it's tricky!

I have never bothered to validate my sites before. I've started to think this might come handy, and everybody is recommending it. Also, I have some trouble with accessing my sites from different browsers. So, here goes:

But, when I try to validate, there are to many issues I can't manage to fix. Something with the META tag, and some are just annoying always refering to either " 's or the tags. Can anyone take a quick look. I warn you for "error-shock" I have been floating on air with my coding, now I really want to learn the real deep down basics of a validated file.

You may check out this file for validation:
http://ingeborgh.com/index.php
ingeborgh is offline   Reply With Quote
Old 11-10-2008, 08:05 PM   PM User | #2
zoobie
Senior Coder

 
Join Date: Jun 2002
Location: ColoRockyz
Posts: 1,642
Thanks: 1
Thanked 0 Times in 0 Posts
zoobie has a little shameless behaviour in the past
you've got no doc type for beginners
way to many large pictures on one page
iframes confuse search engines and validators
forgot <tr> & </tr> on tables
etc

put it in the link below and post for each problem you can't figure out
http://validator.w3.org/
__________________
Zoobie or not Zoobie...That is the problem.
<body onUnload="flush( ! )">
zoobie is offline   Reply With Quote
Old 11-10-2008, 08:13 PM   PM User | #3
ingeborgh
New Coder

 
Join Date: Nov 2008
Location: Norway
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
ingeborgh is an unknown quantity at this point
Don't know how to fix this.

Thank you for answering

I can't understand this.

Unable to Determine Parse Mode!
No Character Encoding Found! Falling back to UTF-8.
No DOCTYPE found! Checking with default HTML 4.01 Transitional Document Type.
ingeborgh is offline   Reply With Quote
Old 11-10-2008, 08:22 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Read this sticky on doctypes.

http://www.codingforums.com/showthread.php?t=18346

Also add this just before you closing </head> tag.
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Users who have thanked _Aerospace_Eng_ for this post:
ingeborgh (11-10-2008)
Old 11-10-2008, 08:31 PM   PM User | #5
coothead
Senior Coder

 
coothead's Avatar
 
Join Date: Jan 2004
Location: chertsey, a small town 25 miles south west of london, england.
Posts: 1,551
Thanks: 0
Thanked 195 Times in 191 Posts
coothead will become famous soon enough
Hi there ingeborgh,

and a warm welcome to these forums.

Quote:
I can't understand this.
It seems that at your present level of coding, page validation is beyond you.

So here is your page validated.
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">

<title>ingeborgh</title>

<link type="text/css" href="/layout/stylesheets/css.css" rel="stylesheet">

</head>
<body>

<table style="width:100%; height: 100%" border="0" cellpadding="0" cellspacing="0"><tr>
<td align="center" valign="middle">
<table style="width:477px; background-color:#969696;" cellpadding="0" cellspacing="0">
<tr>
<td style="height:471px; background-color:#969696;">
<img src="http://ingeborgh.com/layout/headers/side12.jpg" border="0" alt="">
</td>
<td style="width: 477px; height: 471px; background-color:#969696;">
<img src="http://ingeborgh.com/layout/headers/middle2.jpg" border="0"  alt="">
</td>
<td style="background-color:#969696; height: 471px;">
<img src="http://ingeborgh.com/layout/headers/side22.jpg" border="0" alt="">
</td>
</tr><tr>
<td style="width: 50px; height: 243px; background-color:#969696;" rowspan="2">&nbsp;</td>
<td style="width: 477px; height: 5px; padding-top: 2px; padding-bottom: 2px; padding-right: 5px; background-color:#ffffff;">
<div align="right">
<center><span class="tekst">
<a href="/webdesign.php"><span class="mini">WEBDESIGN</span></a> ⁘ 
<a href="/meg.php"><span class="mini">INGEBORG</span></a> ⁘ 
<a href="/index.php"><span class="mini">FORSIDEN</span></a> ⁘ 
<a href="/o"><span class="mini">ODINS SIDE</span></a>  ⁘
<a href="/stubbe.php"><span class="mini">STUBBE</span></a> ⁘
<a href="2/outside.php"><span class="mini">OUTSIDE</span></a>
</span></center>
</div>
</td>
</tr><tr>
<td style="padding:10px; width: 477px; height: 100%; background-color:#ffffff;">
<iframe src="b" height="10700" width="100%" name="innhold" marginwidth="40" marginheight="20" scrolling="auto" frameborder="0"></iframe>
</td>
<td style="width:17px; height:243px;background-color:#969696;" rowspan="2">&nbsp;</td>
</tr></table>
</td>
</tr></table>

</body>
</html>
...perhaps you will be more successful with your CSS validation...You may, also find some of these links illuminating.
coothead
coothead is offline   Reply With Quote
Users who have thanked coothead for this post:
ingeborgh (11-10-2008)
Old 11-10-2008, 08:44 PM   PM User | #6
ingeborgh
New Coder

 
Join Date: Nov 2008
Location: Norway
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
ingeborgh is an unknown quantity at this point
Are tables really that bad

EDIT:

I admit page valitation coding is beyond me, and appreciate your help


Quote:
PHP Code:
document type does not allow element "P" heremissing one of "APPLET""OBJECT""MAP""IFRAME""BUTTON" start-tag.

&
#8230;serer meg for (altså ikke ex phil).<p></span> 
This does not make sense. I always use
PHP Code:
<p
as paragraphs, or paragraphdividers.

Last edited by ingeborgh; 11-10-2008 at 08:56 PM.. Reason: Adding info in this post, so I didn't have to make a new one. 2. edit: sorry for not knowing the PHP tag's function.
ingeborgh is offline   Reply With Quote
Old 11-10-2008, 09:08 PM   PM User | #7
ingeborgh
New Coder

 
Join Date: Nov 2008
Location: Norway
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
ingeborgh is an unknown quantity at this point
I managed!

Whoa! I managed to validate a site!

I notice I don't use "-s and alt="" and close tags properly. I will hereby be strict to myself when coding.

Click here to see the marvellous result!
ingeborgh is offline   Reply With Quote
Old 11-11-2008, 04:05 AM   PM User | #8
zoobie
Senior Coder

 
Join Date: Jun 2002
Location: ColoRockyz
Posts: 1,642
Thanks: 1
Thanked 0 Times in 0 Posts
zoobie has a little shameless behaviour in the past
very nice of coothead to do that...
it's probably best if the coder learns themselves
because of aerospace eng's red sig text

z
__________________
Zoobie or not Zoobie...That is the problem.
<body onUnload="flush( ! )">
zoobie is offline   Reply With Quote
Reply

Bookmarks

Tags
html/css, validation

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:59 AM.


Advertisement
Log in to turn off these ads.