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.
|
|
|
|
|
![]() |
||
1 html error
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
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: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Aug 3rd, 2006 at 17:50. Reason: root error |
|
|
|
||||
|
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" /> |
|
||||
|
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: Basic Advice for newbies (Feb 1st, 2008)
|
|
|||
|
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. |
|
||||
|
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)
|
|
||||
|
Re: 1 html error
i cant put in whats not there - if you look, in the first code this
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: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Aug 3rd, 2006 at 19:42. Reason: none |
|
|||
|
Re: 1 html error
Quote:
et" type="text/css"/> et" type="text/css" /> <---like this. The tag is inside the head. Everything is fine there. |
|
||||
|
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: Basic Advice for newbies (Feb 1st, 2008)
|
|
||||
|
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)
|
|
||||
|
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: Basic Advice for newbies (Feb 1st, 2008)
|
![]() |
| Tags |
| html, error |
| Thread Tools | |
|
|
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 |