Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [05-2008 Date Index] [Date Next] || [Thread Prev] [05-2008 Thread Index] [Thread Next]

[dokuwiki] Re: Leaner HTML Markup

  • From: Anika Henke <a.c.henke@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 09 May 2008 00:12:57 +0200
fantasai wrote:
Some examples, as requested:

<h1><a name="playground" id="playground">PlayGround</a></h1>
<div class="level1">
  <p>paragraph</p>
  <ul>
  <li class="level1"><div class="li">list item</div>
  </li>
  </ul>
</div>

I would ideally write as

<div class="section" id="playground">
  <h1>PlayGround</h1>
  <p>paragraph</p>
  <ul>
    <li>list item</li>
  </ul>
</div>

Here is an old discussion concerning the anchors:
http://www.freelists.org/archives/dokuwiki/03-2006/msg00296.html
The conclusion was: Yes, maybe we will do it someday ...

Concerning the sections: I proposed a better structure (at least once) some time ago. But as there are other things to consider (see other mails), I had no chance. ;-)

  - Can't style the list marker differently, would have to use
    list-style-image for the blue boxes. An alternative would be
    to add back an unclassed <div> and style it with li > div.
As far as I remember, that was exactly the reason, why those divs are there (not only for the bullets but also for the different coloured numbers of ordered lists). I do not like it either, but if those colours are so important for some people, they do not enough harm to argue about it, either ...


Anika

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.