[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
- References:
- [dokuwiki] Leaner HTML Markup
- From: fantasai
- [dokuwiki] Re: Leaner HTML Markup
- From: fantasai
Other related posts:
- » [dokuwiki] Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
- » [dokuwiki] Re: Leaner HTML Markup
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>
- 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.
- [dokuwiki] Leaner HTML Markup
- From: fantasai
- [dokuwiki] Re: Leaner HTML Markup
- From: fantasai