<div dir="ltr">Understood.  Thanks for the explanation!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 3:46 AM, tamouse mailing lists <span dir="ltr"><<a href="mailto:tamouse.lists@gmail.com" target="_blank">tamouse.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Mar 15, 2013 at 3:27 AM, Brian Middleton <<a href="mailto:mrbryo@gmail.com">mrbryo@gmail.com</a>> wrote:<br>

> Hah, yeah not sure why I put that in there (border-collapse).  Must be time<br>
> for bed.  Ah I see. div1...divN.  Thanks for the quick response.<br>
><br>
> That fixed it, using div2:<br>
><br>
> !Vent Status<br>
> (:div class="looknfeel":)<br>
> !!Privacy Policy<br>
> (:div2 class="looknfeel":)<br>
> Junk<br>
> (:div2end:)<br>
> (:divend:)<br>
><br>
> But in order to get the CSS to work I put it in the pub/css/local.css file.<br>
> When I put it in the $WikiStyle array it doesn't seem to pick it up from in<br>
> the (:div:).  It did work once I did this:<br>
><br>
>>>looknfeel<<<br>
> a bunch of stuff<br>
>>><<<br>
><br>
> However, this can't be nested either it looks like...I tried and the page<br>
> displayed some extra characters that shouldn't have been there.<br>
><br>
> Main reason of using DIV is to bump over a section of text so it appears to<br>
> be formatted under the header tags.  I'm guessing there might be a better<br>
> way to do it but I'm not sure what it is.<br>
><br>
><br>
> On Fri, Mar 15, 2013 at 6:54 AM, Lars Eighner <<a href="mailto:surname@larseighner.com">surname@larseighner.com</a>><br>
> wrote:<br>
>><br>
>> On Thu, 14 Mar 2013, Brian Middleton wrote:<br>
>><br>
>>><br>
>>> !Vent Status<br>
>>> (:div class="looknfeel":)<br>
>>> !!Privacy Policy<br>
>>> (:div class="looknfeel":)<br>
>>> Junk<br>
>>> (:divend:)<br>
>>> (:divend:)<br>
>>><br>
>><br>
>> I'm not sure this is the cause of your problem, but you cannot nest (:div<br>
>> :)<br>
>> like html <div>.<br>
>><br>
>> If you open a second div, it has to be (:div2 :) and be closed with<br>
>> (:div2end:)<br>
>><br>
>> You can have plenty of div on the page, but the child must be div2, the<br>
>> grandchild div3 and so forth.  And of course they must be properly nested.<br>
>><br>
>> Fortunately, most of the page glue divs are out in the template where they<br>
>> are ordinary html div and play by the html rules.  But if you have formed<br>
>> the habit of styling with div (<div class="red"><div class="small"><div<br>
>> class="sanserif">) (:div:) will break you of that or drive you insane.<br>
>><br>
>> I did not know border collapse was good for anything outside of tables.<br>
<br>
</div></div>You're combining a couple of things, which is why it isn't working the<br>
way you'd like. WikiStyles are kind of like "internal" CSS (although<br>
still not quite CSS itself) and apply when you use the WikiStyle<br>
markup [1]:<br>
<br>
In local/config.php:<br>
<br>
    $WikiStyle['mywikistyle']['color'] = 'red';<br>
    $WikiStyle['mywikistyle']['font-style'] = 'italic';<br>
<br>
... and so on<br>
<br>
In wiki text:<br>
<br>
    %mywikistyle%Some wiki text<br>
<br>
or<br>
<br>
    >>mywikistyle<<<br>
    Some wiki text<br>
    >><<<br>
<br>
whereas true CSS, as set in the `local/local.css` file, is used by<br>
setting a class parameter on the (:div:):<br>
<br>
In local/local.css:<br>
<br>
    .mystyle {<br>
        color: red;<br>
        font-style: italic;<br>
    }<br>
<br>
In wiki text:<br>
<br>
    (:div class='mystyle':)<br>
    Some wiki text<br>
    (:div:)<br>
<br>
nesting of div's explained above.<br>
<br>
It is quite possible to combine these:<br>
<br>
Using the definition in local/local.css to start with for `mystyle`:<br>
<br>
In local/config.php:<br>
<br>
    $WikiStyle['mywikistyle']['class'] = 'mystyle';<br>
<br>
and use as above.<br>
</blockquote></div><br></div>