3 Replies Latest reply on Jun 4, 2012 5:22 PM by aldr

    <ol type="a"> is not supported

    ng_babu

      We would like to see the Adobe Digital Edition to support the all attributes of <ol> and <ul> elements.

       

      Regards,

      Ganesh

        • 1. Re: <ol type="a"> is not supported
          Jim Lester Level 4

          type and start as attributes for ol are not valid XHTML, and so are not valid for ePub documents (which requires XHTML compliance).

          Those attributes will not be supported in Digital Editions or in RMSDK.  For styling your list use the appropriate CSS properties instead, such as list-style-type

          • 2. Re: <ol type="a"> is not supported
            ng_babu Level 1

            Thanks for the answer. For the type attribute of the ol element I got the correct answer.

             

            For start attribute I got the solution by using counter. But it is not working in ADE. Please suggest.

             

            The XHTML code is as follows:

             

            <ol id="page_one">

            <li class="new">Select the instance variable declaration or method name.</li>

            <li class="new">Choose the Edit &#8658; Refactor command.</li>

            <li class="new">Choose either the Move Up or Move Down transformation.</li>

            <li class="new">Select the desired options:</li></ol>

            <p class="para"> This is for testing</p>

            <ol id="page_two">

            <li class="new">Select the instance variable declaration or method name.</li>

            <li class="new">Choose the Edit &#8658; Refactor command.</li>

            <li class="new">Choose either the Move Up or Move Down transformation.</li>

            <li class="new">Select the desired options:</li>

            </ol>

             

            <ol class="alpha">

            <li>Select the instance variable declaration or method name.</li>

            <li>Choose the Edit &#8658; Refactor command.</li>

            <li>Choose either the Move Up or Move Down transformation.</li>

            <li>Select the desired options:</li>

            </ol>

             

            corresponding CSS coding is as follows:

             

            OL#page_one { counter-reset: item }

            OL#page_two { counter-reset: item 4 }

            LI.new{ display: block }

            LI.new:before {

            content: counter(item) ". ";

            counter-increment: item;

            }

            ol.alpha

            {

            list-style-type:lower-alpha;

            }

             

             

            Regards,

            Ganesh

            • 3. Re: <ol type="a"> is not supported
              aldr

              The start attribute is once again valid, according to the most recent HTML5 specification.

               

              Will ADE follow the HTML5 standard soon, and support start and other no-longer-depreciated attributes?