Admin Forum:Floating list - turns out quirky
Talk0
79,538pages on
this wiki
this wiki
This Forum has been archived
Forums: Admin Central Index → Technical Help → Floating list - turns out quirky
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 78 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Added by Mfaizsyahmi
/* floatlist */
.floatlist ul {
list-style-type: none !important;
list-style-image: none !important;
margin:0px !important;
padding:0px !important;
}
.floatlist li {
float:left;
padding-right: 5px !important;
}
.floatlist li:before { content: "• " }
The results turned out to be a bit odd. As you can see from this page and the screenshot some items do not return to the far left, but instead decided to run downwards (as it normally would.)
Is there a way to fix this? —mfaizsyahmi (talk) 03:00, May 1, 2012 (UTC)
- You can replace
float:left;withdisplay:inline;- should give the same result but without the oddity. You also might want to consider not using lists in navboxes whatsoever and simply put the names in table cells separated with "•" - that's how I think most navboxes display their content. It would save you the trouble with adding the "•" through CSS. — Sovq 07:57, May 1, 2012 (UTC)
- I find out that using "
display:inline-block;" produces better results, as "display:inline;" will break the list on its white spaces. Thanks! —mfaizsyahmi (talk) 09:52, May 1, 2012 (UTC) - P.S. Why do I always ask for assistance for things that is 90% working?
- I find out that using "
- Because it's always that 10% that takes 90% of our time — Sovq 16:24, May 1, 2012 (UTC)