Thank you! The example has been updated!

On 2/13/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:


Here's more semantic markup I'd use for that:

<ul id="wrapper">
     <li>
         <h2>Title 1</h2>
         <p>Body 1</p>
     </li>
     <li>
         <h2>Title 2</h2>
         <p>Body 2</p>
     </li>
     <li>
         <h2>Title 3</h2>
         <p>Body 3</p>
     </li>
</ul>

The good thing about semantic markup is that you don't need classes or
id's to separate the elements because you can pick them by type (Using
div soup naturally results in classitis as well).



You should also add the missing type attribute to your style and script
elements. As these examples seem to be meant as copy & paste do not let
the people copy the incorrect markup.

Apart from that, thanks for your efforts of course.


-- Klaus


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to