The code isn't wrong,  How it's explained in the post incorrectly says to
replace the <ol> element when you're actually not replacing it,  Just
adding a class to it.
On Feb 2, 2014 4:46 PM, "Øyvind Teig" <[email protected]> wrote:

> Philip
>
> If the
> http://www.teigfam.net/oyvind/home/technology/061-wordpress/#academic_style_reference_listis
>  wrong, it still has made the correct academic list for me. In all
> browsers I have tried, except some real old.
>
> How should it exactly look, and exactly be used to get it correct and
> valid?
>
> Øyvind
>
> 2. feb. 2014 kl. 22:18 skrev Philip Taylor <[email protected]>:
> [email protected]
>
> >
> >
> > Øyvind Teig wrote:
> >
> >> Could anybody please help me with a class for WordPress, <code_x>
> >> that would inherit all of <code> and then add tighter lines and
> >> courier?
> >>
> >> I have got other help from css-d, see here:
> >>
> http://www.teigfam.net/oyvind/home/technology/061-wordpress/#academic_style_reference_list
> >
> > If by <code_x> you mean something analogous to :
> >
> >> To use it, just replace the standard <ol> with <ol_href>, example below.
> >
> > then what you are generating is almost certainly invalid HTML.  I say
> > "almost certainly" because, of course, you could be specifying a
> > custom DTD in your DOCTYPE directive, but as you are also talking
> > about Wordpress, where the default DOCTYPE is
> >
> >       <!doctype html>
> >
> > I suspect this is not the case.  So my question is :  why deliberately
> > create invalid HTML ?  Why not (for example) use "<code class='x'>"
> > and "<ol class='href'>" ?
> >
> > Philip Taylor
>
> Øyvind
>
> --
> Øyvind Teig
> Øvre Møllenberg 11
> 7014 Trondheim, Norway
> - Tel 959 615 06
> - [email protected]
> http://www.teigfam.net/oyvind/ - trad home page
> http://oyvteig.blogspot.com/ - older blogs
>
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to