[pmwiki-users] Custom Markup Setup for <div class= ?

Matt Simpson matthew at undertheoak.net
Thu Jul 5 10:54:05 CDT 2007


>> Guillermo wrote:
>>
>>> However, I advice you to use nested lists. It is cleaner and you can
>>> achieve the same effects with approppriate CSS.
>>>
>>>
>>> The sidebar looks like this:
>>>
>>> >>navmenu<<
>>> * First level A
>>> * Fist level B
>>> ** Second Level A
>>> ** Second Level B
>>> * First Level C
>>> ...
>>> >><<
>>>
>>> and the CSS migh be something like this:
>>>
>>> .navmenu ul li {
>>>    /* first-level properties here */
>>>
>>> }
>>> .navmenu ul ul li {
>>>   /* second-level properties here */
>>>   ....
>>> }
>>>
>>
>> Matt Simpson wrote:
>> I'm trying to apply nested lists now.  I am unable to apply changes to 
>> the CSS because it is hosted on global servers and used enterprise wide. 
>> Perhaps I can host a local copy of it.
>>
>> However, is there some way of applying additional styles to what is 
>> defined in the base CSS?  Perhaps using an additional CSS?  Or defining 
>> the style in some other way within the wiki?  Still researching.... and 
>> thanks...

> Guillermo wrote:
> Sure, you can define additional CSS creating the file
>
>             <wiki-dir>/pub/css/default.css
>
> Rules in this file rewrites the ones in your skin

I could not get PMWiki to process the CSS that way.  I'm not sure why.
Perhaps it is because the CSS is imported by the template.

I am able to get PmWiki to process it when I also imported it within the 
skin template, like this... (see 5th import)

<style type="text/css" media="all">
<!--
@import url("//w3.internal.com/ui/css/screen.css");
@import url("//w3.internal.com/ui/css/interior.css");
@import url("//w3.internal.com/ui/css/icons.css");
@import url("//w3.internal.com/ui/css/interior-1-col.css");
@import url("//mywiki.hostname.internal.com/pub/css/default.css");
-->
</style>

However, now I have a problem.  The indentation that PmWiki adds to the list
is being added to the indentation within the style sheets.

How can I, within the block, disable or customize the extra indentation that 
PmWiki adds in a list?

Thank you so much. 





More information about the pmwiki-users mailing list