dom_ul.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
  5. <style>
  6. .disc li { list-style-type: disc; }
  7. .circle li { list-style-type: circle; }
  8. .square li { list-style-type: square; }
  9. .image li { list-style-type: square; list-style-image:url(images/png.png)}
  10. .missing li { list-style-type: square; list-style-image:url(dummy.png)}
  11. .nobullet li { list-style-type: none;}
  12. .noimage li { list-style-type: none; list-style-image:url(dummy.png)}
  13. .bigimage li { list-style-type: square; list-style-image:url(images/dokuwiki-128.png)}
  14. .mindentimage li { list-style-type: square; list-style-image:url(images/png.png); margin-left:50px;}
  15. .mindentimage2 li { list-style-type: square; list-style-image:url(images/png.png); margin-left:100px;}
  16. .pindentimage li { list-style-type: square; list-style-image:url(images/png.png); padding-left:50px;}
  17. .pindentimage2 li { list-style-type: square; list-style-image:url(images/png.png); padding-left:100px;}
  18. .mindentsquare li { list-style-type: square; margin-left:50px;}
  19. .mindentsquare2 li { list-style-type: square; margin-left:100px;}
  20. .pindentsquare li { list-style-type: square; padding-left:50px;}
  21. .pindentsquare2 li { list-style-type: square; padding-left:100px;}
  22. </style>
  23. </head>
  24. <body>
  25. <ul>
  26. <li>Item 1</li>
  27. <li>Item 2</li>
  28. <li>Item 3</li>
  29. <ul><li>Sub 1</li>
  30. <li>Sub 2</li>
  31. <li>Sub 3</li>
  32. </ul>
  33. </ul>
  34. <ul class="circle">
  35. <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec at
  36. odio vitae libero tempus convallis. Cum sociis natoque penatibus et
  37. magnis dis parturient montes, nascetur ridiculus mus. Vestibulum purus
  38. mauris, dapibus eu, sagittis quis, sagittis quis, mi. Morbi fringilla
  39. massa quis velit. Curabitur metus massa, semper mollis, molestie vel,
  40. adipiscing nec, massa. Phasellus vitae felis sed lectus dapibus
  41. facilisis. In ultrices sagittis ipsum. In at est. Integer iaculis
  42. turpis vel magna. Cras eu est. Integer porttitor ligula a
  43. tellus. Curabitur accumsan ipsum a velit. Sed laoreet lectus quis
  44. leo. Nulla pellentesque molestie ante. Quisque vestibulum est id
  45. justo. Ut pellentesque ante in neque.</li>
  46. <li>Curabitur ut diam eu dui vestibulum pharetra. Nam pellentesque, justo
  47. non hendrerit venenatis, mi orci pretium mi, et vehicula leo arcu quis
  48. diam. Nullam mattis laoreet quam. Morbi mollis sem ut tellus. Nam mi
  49. massa, lobortis eu, sollicitudin et, iaculis et, massa. Maecenas purus
  50. mauris, luctus sit amet, pharetra in, facilisis sit amet, elit. Nullam
  51. vel erat tempus purus molestie suscipit. Vestibulum odio lorem,
  52. sollicitudin non, volutpat sit amet, tincidunt vel, nunc. Nulla quis
  53. ante vestibulum odio feugiat facilisis. Proin lorem nisl, viverra at,
  54. rhoncus quis, semper nec, mi. Donec euismod enim vitae velit. Nulla
  55. sed lectus. Vivamus placerat, lacus sed vehicula sagittis, arcu massa
  56. adipiscing lorem, bibendum luctus nisl tortor vitae leo.</li>
  57. <li style="list-style-position: inside">Inside. Aliquam enim. Duis et diam. Praesent porta, mauris quis pellentesque
  58. volutpat, erat elit vulputate eros, vitae pulvinar augue velit sit
  59. amet sem. Fusce eu urna eu nisi condimentum posuere. Vivamus sed
  60. felis. Duis eget urna vitae eros interdum dignissim. Proin justo eros,
  61. eleifend in, porttitor in, malesuada non, neque. Etiam sed
  62. augue. Nulla sit amet magna. Lorem ipsum dolor sit amet, consectetuer
  63. adipiscing elit. Mauris facilisis. Curabitur massa magna, pulvinar a,
  64. nonummy eget, egestas vitae, mauris. Quisque vel elit sit amet lorem
  65. malesuada facilisis. Vestibulum porta, metus sit amet egestas
  66. interdum, urna justo euismod erat, id tristique urna leo quis
  67. nibh. Morbi non erat.</li>
  68. </ul>
  69. <ul class="disc">
  70. <li>Item 1 disc</li>
  71. <li>Item 2 disc</li>
  72. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  73. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  74. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  75. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  76. sanctus est Lorem ipsum dolor sit amet.</li>
  77. <li>Item 4 disc</li>
  78. </ul>
  79. <ul class="circle">
  80. <li>Item 1 circle</li>
  81. <li>Item 2 circle</li>
  82. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  83. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  84. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  85. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  86. sanctus est Lorem ipsum dolor sit amet.</li>
  87. <li>Item 4 circle</li>
  88. </ul>
  89. <ul class="square">
  90. <li>Item 1 square</li>
  91. <li>Item 2 square</li>
  92. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  93. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  94. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  95. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  96. sanctus est Lorem ipsum dolor sit amet.</li>
  97. <li>Item 4 square </li>
  98. </ul>
  99. <ul class="image">
  100. <li>Item 1 image</li>
  101. <li>Item 2 image</li>
  102. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  103. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  104. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  105. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  106. sanctus est Lorem ipsum dolor sit amet.</li>
  107. <li>Item 4 image</li>
  108. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  109. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  110. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  111. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  112. sanctus est Lorem ipsum dolor sit amet.</li>
  113. <li style="list-style-position: outside">Outside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  114. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  115. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  116. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  117. sanctus est Lorem ipsum dolor sit amet.</li>
  118. <li style="list-style-image:none">Item 7 noimage</li>
  119. <ul>
  120. <li>sub Item 1 image</li>
  121. <li>sub Item 2 image</li>
  122. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  123. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  124. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  125. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  126. sanctus est Lorem ipsum dolor sit amet.</li>
  127. <li style="list-style-position: outside">Outside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  128. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  129. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  130. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  131. sanctus est Lorem ipsum dolor sit amet.</li>
  132. <li style="list-style-image:none">sub Item 5 noimage</li>
  133. </ul>
  134. </ul>
  135. <ul class="missing">
  136. <li>Item 1 missing image - fallback square</li>
  137. <li>Item 2 missing image - fallback square</li>
  138. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  139. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  140. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  141. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  142. sanctus est Lorem ipsum dolor sit amet.</li>
  143. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  144. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  145. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  146. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  147. sanctus est Lorem ipsum dolor sit amet.</li>
  148. <li>Item 4 missing image - fallback square</li>
  149. </ul>
  150. <ul class="nobullet">
  151. <li>Item 1 nobullet</li>
  152. <li>Item 2 nobullet</li>
  153. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  154. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  155. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  156. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  157. sanctus est Lorem ipsum dolor sit amet.</li>
  158. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  159. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  160. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  161. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  162. sanctus est Lorem ipsum dolor sit amet.</li>
  163. <li>Item 4 nobullet</li>
  164. </ul>
  165. <ul class="noimage">
  166. <li>Item 1 missing image - fallback none</li>
  167. <li>Item 2 missing image - fallback none</li>
  168. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  169. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  170. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  171. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  172. sanctus est Lorem ipsum dolor sit amet.</li>
  173. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  174. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  175. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  176. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  177. sanctus est Lorem ipsum dolor sit amet.</li>
  178. <li>Item 4 missing image - fallback none</li>
  179. </ul>
  180. <ul class="bigimage">
  181. <li>Item 1 bigimage</li>
  182. <li>Item 2 bigimage</li>
  183. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  184. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  185. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  186. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  187. sanctus est Lorem ipsum dolor sit amet.</li>
  188. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  189. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  190. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  191. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  192. sanctus est Lorem ipsum dolor sit amet.</li>
  193. <li>Item 4 bigimage</li>
  194. </ul>
  195. <ul class="mindentimage">
  196. <li>margin Item 1 image</li>
  197. <li>margin Item 2 image</li>
  198. <li>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  199. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  200. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  201. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  202. sanctus est Lorem ipsum dolor sit amet.</li>
  203. <li>margin Item 4 image</li>
  204. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  205. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  206. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  207. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  208. sanctus est Lorem ipsum dolor sit amet.</li>
  209. <li style="list-style-position: outside">Outside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  210. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  211. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  212. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  213. sanctus est Lorem ipsum dolor sit amet.</li>
  214. <li style="list-style-image:none">margin Item 7 noimage</li>
  215. <ul class="mindentimage2">
  216. <li>margin sub Item 1 image</li>
  217. <li>margin sub Item 2 image</li>
  218. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  219. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  220. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  221. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  222. sanctus est Lorem ipsum dolor sit amet.</li>
  223. <li style="list-style-position: outside">Outside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  224. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  225. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  226. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  227. sanctus est Lorem ipsum dolor sit amet.</li>
  228. <li style="list-style-image:none">margin sub Item 5 noimage</li>
  229. </ul>
  230. </ul>
  231. <ul class="pindentimage">
  232. <li>padding Item 1 image</li>
  233. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  234. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  235. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  236. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  237. sanctus est Lorem ipsum dolor sit amet.</li>
  238. <ul class="pindentimage2">
  239. <li>padding sub Item 1 image</li>
  240. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  241. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  242. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  243. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  244. sanctus est Lorem ipsum dolor sit amet.</li>
  245. </ul>
  246. </ul>
  247. <ul class="mindentsquare">
  248. <li>margin Item 1 square</li>
  249. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  250. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  251. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  252. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  253. sanctus est Lorem ipsum dolor sit amet.</li>
  254. <ul class="mindentsquare2">
  255. <li>margin sub Item 1 square</li>
  256. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  257. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  258. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  259. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  260. sanctus est Lorem ipsum dolor sit amet.</li>
  261. </ul>
  262. </ul>
  263. <ul class="pindentsquare">
  264. <li>padding Item 1 square</li>
  265. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  266. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  267. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  268. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  269. sanctus est Lorem ipsum dolor sit amet.</li>
  270. <ul class="pindentsquare2">
  271. <li>padding sub Item 1 square</li>
  272. <li style="list-style-position: inside">Inside. Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
  273. sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
  274. aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
  275. duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
  276. sanctus est Lorem ipsum dolor sit amet.</li>
  277. </ul>
  278. </ul>
  279. <h1>combined list attributes list-style</h1>
  280. <ul style="list-style:square inside url(dummy.png);">
  281. <li>list-style:square inside url(dummy.png);</li>
  282. <li style="list-style-position:outside;">list-style:outside;[overwrites only position]</li>
  283. </ul>
  284. <ul style="list-style:square inside url(images/png.png);">
  285. <li>list-style:square inside url(images/png.png);</li>
  286. <li style="list-style-position:outside;">list-style-position:outside;[overwrites only position]</li>
  287. <li style="list-style:outside;">list-style-position:outside;[overwrite attributes - firefox3: all; dompdf, internet explorer 8: only position]</li>
  288. <li style="list-style:none;">list-style:none; [resets both, bullet and image]</li>
  289. </ul>
  290. </body> </html>