Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

not exactly a mac question= transitional and strict xhtml

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU
 
RainDog Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Jan-14-08 02:00 PM
Original message
not exactly a mac question= transitional and strict xhtml
I cannot get a page to validate at w3. I have to validate in both, but I can't figure out how to fix one thing, esp. (This is for a workshop and I have to do specific things...I can't change the thing here, even tho I hate it. Cannot use css.

in xhtml transitional, the following does not validate:

<ol type="a">
<li><b>Books</b></li>
<ol type="i">
<li>Printing</li>
<li>Bookbinding</li>
<li>Blind Stamp</li>
<li>Coptic Binding</li>
<li>Sewn Gatherings</li>
</ol>
</ol>

I have to have a nested ordered list that uses lower cases. w3 tells me this is not allowed. it is within a table in the body of the doc.

this is inside of a cell in a table that is nested in another table. I've looked back and I have closed all tags (also null ones like br and img.) other items are nested properly. I am stuck and this HAS TO validate.

Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Jan-14-08 10:43 PM
Response to Original message
1. I ran it through Markup cleaner, can you see a difference?
Edited on Mon Jan-14-08 11:30 PM by alfredo
The first snippet was put in NVU then run through markup cleaner. It made a few changes of the </li> tag. I know very little about hand coding, just happened to have NVU to work with. I just uploaded it to: http://homepage.mac.com/alfredo_tomato/test1.html and ran that URL through the validator and it validated as 4.01 Transitional.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>test</title>
</head>
<body>
<ol type="a">
<li><b>Books</b>
<ol type="i">

<li>Printing</li>
<li>Bookbinding</li>
<li>Blind Stamp</li>
<li>Coptic Binding</li>
<li>Sewn Gatherings</li>
</ol>
</li>
</ol>

</body>
</html>

Here's your orginal.

<ol type="a">
<li><b>Books</b></li>
<ol type="i">

<li>Printing</li>
<li>Bookbinding</li>
<li>Blind Stamp</li>
<li>Coptic Binding</li>
<li>Sewn Gatherings</li>
</ol>
</ol>

Printer Friendly | Permalink | Reply | Top
 
RainDog Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-15-08 12:40 AM
Response to Reply #1
2. thank you!
I forgot about leaving the first list tag open.
Printer Friendly | Permalink | Reply | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-15-08 12:52 AM
Response to Reply #2
3. It seemed like the close list tag should have gone there, but that would
not have been nested properly.

Have you ever tried using NVU?
http://www.nvu.com/
Printer Friendly | Permalink | Reply | Top
 
RainDog Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-15-08 02:01 AM
Response to Reply #3
4. no
but I will.

I never use a tidy or whatever. except now I do.... the one at w3... but it messed up my page?!? I only started using a text editor this year. before I just wrote directly onto the terminal page.

anyway, now it validates!!!!!!! and that's all I care about with that for now.

I have to go through html strict, xhtml transitional, then xhtml strict to work in xhtml strict for all css. I don't work with this everyday, but I do from time to time. actually, I love to make web pages. need to spiff up my stylin.'

THANK YOU SO MUCH!!

:hi:
Printer Friendly | Permalink | Reply | Top
 
RainDog Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-15-08 02:03 AM
Response to Reply #3
5. oh...
I can't use anything like Dreamweaver to write the pages (as in the Nvu link) -- this has to be my work.
Printer Friendly | Permalink | Reply | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-15-08 11:50 AM
Response to Reply #5
6. That's good. Hand coding builds character. It reminds me of
watching my dad pull his own teeth. Do keep NVU for later when you start building on your own. It's a good free tool.

Here's a very good text editor for HTML and other modes. It hasn't been updated for a long time but it works.

http://mimikaki.net/en/index.html It used to be called MMKedit. It's the poor man's BBEdit.
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon May 06th 2024, 04:20 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC