1 html error

This is a discussion on "1 html error" within the Web Page Design section. This forum, and the thread "1 html error are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 3rd, 2006, 17:12
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
1 html error

i have one error - could someone please tell me how to sort it - http://www.recipebite.co.uk thank you

Error Line 127 column 93: document type does not allow element "link" here.
...ss" rel="stylesheet" type="text/css"/>The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)

Last edited by saltedm8; Aug 3rd, 2006 at 17:50. Reason: root error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 3rd, 2006, 17:23
craig's Avatar
Reputable Member
Join Date: Sep 2005
Location: Preston, UK
Age: 21
Posts: 382
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 1 html error

Yup, it should be in between the <head> </head> tags at the top of the page.

should also have a space before the backslash...
="stylesheet" type="text/css" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 3rd, 2006, 17:44
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: 1 html error

easyier said than done -

the html on the index page looks like this http://www.webforumz.com/free-web-si...cipebite-_.htm ( bottom of the page )
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 3rd, 2006, 18:42
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 1 html error

I've had a look at the code and don't see what your problem is.

Do exactly what Craig told you to do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 3rd, 2006, 18:54
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: 1 html error

A link to a style sheet has to go in the <head> tags for it to work.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Aug 3rd, 2006, 19:39
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: 1 html error

i cant put in whats not there - if you look, in the first code this
Code: Select all
<link href="components/com_rapidrecipe/rapidrecipe.css" rel="stylesheet" type="text/css"/>
is not on the index page that i can edit - its only in the online page after joomla has added in all the extra 'bits and bobs' it needs

its not a case of me not understanding what was said - it was a case of - the code looks different offline to what it does online
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)

Last edited by saltedm8; Aug 3rd, 2006 at 19:42. Reason: none
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Aug 4th, 2006, 03:18
Junior Member
Join Date: Aug 2006
Location: United States
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 1 html error

Quote:
Originally Posted by saltedm8 View Post
i cant put in whats not there - if you look, in the first code this
Code: Select all
<link href="components/com_rapidrecipe/rapidrecipe.css" rel="stylesheet" type="text/css"/>
is not on the index page that i can edit - its only in the online page after joomla has added in all the extra 'bits and bobs' it needs

its not a case of me not understanding what was said - it was a case of - the code looks different offline to what it does online
The only problem that I see is that you need a "space" between " and />

et" type="text/css"/>
et" type="text/css" /> <---like this.

The tag is inside the head. Everything is fine there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Aug 4th, 2006, 11:42
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: 1 html error

the problem is that the output is different to the 'input'

what i mean to say is - i now know whats wrong and what needs to be adjusted, i just dont know how i can adjust it because the input is totally different
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Aug 4th, 2006, 12:58
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: 1 html error

I am not a joomla fan, but I would assume that based on what I do know about it, you should be able to find something on how to modify joomla's output. As unhelpful as this reply is.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Aug 4th, 2006, 13:05
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,519
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: 1 html error

thank you - ive had a word in the joomla forum - you may interested in what was said ( for future reference for others ) http://forum.joomla.org/index.php/to...,prev.html#new

thannk you all for your help
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
html, error

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Validator is giving me an error tupulo Web Page Design 6 Mar 4th, 2008 18:48
Keep getting error message Microsoft VBScript runtime error '800a01a8' cpando1974 Classic ASP 2 Aug 7th, 2007 12:00
405 error passing data from html to php nate2099 Starting Out 2 Apr 9th, 2007 22:18
Error in html jonbenitos Web Page Design 2 Jul 23rd, 2006 20:18
HTML validation error please help bean_2k1 Web Page Design 4 Feb 8th, 2006 12:19


All times are GMT. The time now is 23:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42