Forum:Dot list

How can you change the style of a dot list? For example, this is a normal list: I want it like this (different dot, no first tabulation):
 * Line 1
 * Line 2
 * Line 2.1
 * Line 3

• Line 1

• Line 2

• Line 2.1

• Line 3

And with change style, I mean through MediaWiki.css. Thanx, also if you know how to do the same with an ordered list I'd appreciated. 14:40, July 30, 2011 (UTC)


 * You mean bullets, and if you want to change it i dont know but i think the 2nd bullet list is enabled on source mode. TheBen10Mazter (Talk -Blog -Contribs) 14:47, July 30, 2011 (UTC)


 * I want to change how the wiki rendered the code

in a way that he gets something like this:
 * Line 1
 * Line 2
 * Line 2.1
 * Line 3

• Line 1

• Line 2

• Line 2.1

• Line 3

but basically I want to know how can I can customize the wiki list (also the ordered list with #). 14:52, July 30, 2011 (UTC)


 * Really ben he wants a bit of css,this is not your field so you do not need to commentTama 63  14:53, July 30, 2011 (UTC)


 * According to my best knowledge, you're limited as to what you can customize the easy way, as shown here. The hard way to is to use a an image for the bullet indicator. Additionally you might have difficulties with being able to find a proper css selector to modify the default style. — Sovq 14:59, July 30, 2011 (UTC)

CSS SOLUTION!!

to change to circles!

.. for any image:)...hope that helps:)--


 * The problem with the above code (apart from the fact that ul.a won't cover most of the lists) is that a lot of skin lists use  and if you add a custom style to all lists, your code will override the type:none style and these mentioned lists will start look bugged. — Sovq 15:07, July 30, 2011 (UTC)

Basically are you saying that I can only change the list style using html in the page, not via MediaWiki css? And anybody knows how to remove the first tabulation? I don't like how it's moved on the right, I prefer it attached to the left border like a normal sentence. 15:13, July 30, 2011 (UTC)


 * Hmm!....agree with Sovq..but my code works under "normal" conditions:)


 * You can try to cheat:

.WikiaAcrticle ul { list-style-type: none; }

.WikiaArticle ul li:before { content: "• "; }
 * No idea if it'll work though. As for the left indent, change the left margin of the list (to something like 1.3em). Edit: seems to work, but may be broken in older browsers. - Tjcool007 (Talk) 15:25, July 30, 2011 (UTC)


 * I would advise to change the bullet list indicators, if needed, on a page to page basis. On the Dead Frontier Wiki, there was an attempt to replace all "regular" bullet list indicators with an image using this code:

ul li { list-style-image: url(http://images.wikia.com/deadfrontier/images/1/13/Grey_Bullet.png); }				/* List Icon - Default */ ul li:hover { list-style-image: url(http://images.wikia.com/deadfrontier/images/0/00/Red_Bullet.png); }				/* List Icon - Hover */ .wikia-menu-button > li:hover  /* Excludes active bullets from My Home Tabs */ .wikia-tabs ul li,		/* Excludes active bullets from My Home Tabs */ .WikiaFooter .toolbar .tools > li   /* Excludes active bullets from Hover Toolbar */ .WikiaHeader ul li,		/* Excludes inactive bullets from Wikia Header */ .WikiaHeader li:hover,		/* Excludes active bullets from Wikia Header */ .WikiaHeader nav ul {		/* Excludes inactive bullets from Wikia Header */ list-style-image: none; }
 * 1) toc ul,			/* Excludes inactive bullets from Table of Contents */
 * 2) toc ul li:hover,		/* Excludes active bullets from Table of Contents */
 * 3) page_controls li,		/* Excludes active bullets from Page Controls */
 * 4) user_masthead li,		/* Excludes active bullets from the User Page Navigation */
 * 5) page_tabs li,			/* Excludes active bullets from Page Tabs */
 * 6) widget_1_content li,
 * 7) widget_2_content li,
 * 8) widget_3_content li,
 * 9) widget_4_content li,
 * 10) widget_5_content li,
 * 11) widget_6_content li,
 * 12) widget_7_content li,
 * 13) widget_8_content li,
 * 14) widget_9_content li,
 * 15) widget_10_content li,		/* Excludes active bullets from Widget Links */
 * 16) wpGoRegister,			/* Excludes active bullets from Login Tabs */
 * 17) myhome-hot-spots li:hover,	/* Excludes active bullets from My Home Hot Spots */


 * But as you see, the list of exclusions that had to be made was quite big and most likely incomplete, so the idea was dropped. — Sovq 15:29, July 30, 2011 (UTC)