How to ensure that browsers properly cache assets on your site | Code Snippets | How to stop the Enter key in text fields from submitting a web form
How to ensure that browsers properly cache assets on your site | PmWiki | How to create access toggle buttons (on OborWiki)
Portfolio | Web Design | Circular click target demo
How to ensure that browsers properly cache assets on your site | Web Development | Circular click target demo
To get a listing of your wiki’s categories, displayed as a block of buttons (like on the front page of this wiki)…

… place the following code wherever you want the listing block:
>>rfloat frame category-buttons-block<< (:pagelist group=Category list=normal fmt=#bygroup-titlespaced :) >><<
And put the following CSS in any appropriate place:
- a
(:css:) / (:cssend:)block; - the
Site.StyleSheetpage; - or the
Site.LocalCSSpage
.category-buttons-block {
margin-bottom:30px;
margin-top: 10px;
}
.category-buttons-block .fpltemplate {
margin: 0;
}
.category-buttons-block .fpltemplate dt,
.category-buttons-block .fpltemplate dd {
display: inline-block;
}
.category-buttons-block .fpltemplate dd:first-of-type {
margin: 0;
}
.category-buttons-block .fpltemplate dd:nth-of-type(n+2) {
margin-left: 8px;
margin-bottom: 8px;
}
.category-buttons-block .fpltemplate dd a {
border-radius: 4px;
background-color: #f0f5fa;
border: 1px solid #c5d6e9;
padding: 2px 7px 3px 7px;
display: inline-block;
}
.category-buttons-block .fpltemplate dd a:hover {
background-color: #d5e7fa;
text-decoration: none;
}