|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all i have a problem when trying to validate my xhtml code. I have one error which continues to
priciest no matter what i do. The xhtml code is: <ul class="disc"> <li>Assistance in planning and designing of ventilation systems.</li> <li>On-site surveying to ensure optimum designs.</li> <li>Full installation of ventilation equipment.</li> <li>Maintenance of systems.</li> <li>Ability to fully integrate control equipment into any electronic building management systems.</li> <li>Full technical assistance and consultancy available from our experienced engineers.</li> </ul> the code produces bullet points on the site. The validator comes up with the error: Line 85, Column 18: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag. <ul class="disc">The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>") for the life of me i cant work it out. can anyone shine some light on it for me. |
|
||||
|
I haven't tested this but if you follow advice from here: Common XHTML Validation Issues - Textbook International
which basically asks you to indent the whole block of code with a single whitespace at the start of each line, it should be ok. Steve |
|
|||
|
Thanks to the both of you for replaying but neither of you suggestions worked you can view the page at http://www.danielmcmullan.co.uk/ecs/index.html
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google Standards | onestoplocs | Google Discussion Forum | 8 | 06-15-2009 11:59 PM |
| Xhtml strict 1.0 vs xhtml 1.1 | John-pr | Web Programming Discussion Forum | 9 | 11-08-2006 03:09 PM |
| php not validating with w3c | pagetta | Web Programming Discussion Forum | 3 | 08-01-2005 10:04 AM |
| Validating PHP | joliettech | Web Programming Discussion Forum | 3 | 02-09-2004 10:51 AM |
| Creating Standards-Compliant HTML and XHTML | Narasinha | Graphics & Design Discussion Forum | 29 | 12-03-2003 09:52 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |