[pmwiki-users] Better code to create bg color 100%
Rene Visco
rvisco at csdr-cde.ca.gov
Fri Apr 21 16:48:22 CDT 2006
Thanks,
I found the ideal "less" code:
%apply=block bgcolor=#eeeeee% in Wikibody Examples.
Many thanks for your replies! Pmwiki never ceases to amaze me!
Rene V.
On 4/21/06 1:16 PM, "DaveG" <pmwiki at solidgone.com> wrote:
> You can simply change the H2 (or other styles) using the CSS property
> "background-color:#xxxxxx;" in the skin style sheet.
>
> Otherwise there seems to be a confusing number of ways to get to what
> you're looking for.
>
> However this seems to be the best (ref
> http://pmwiki.com/wiki/PmWiki/WikiStyles):
> %define=background block bgcolor=red width="100pct"%
>
> And use it:
> %background%TEST
>
> OR
>
> !!%background%TEST
>
>
> Also ref:
> http://pmwiki.com/wiki/PmWiki/CustomWikiStyles
>
> ~ ~ Dave
>
> Rene Visco wrote:
>> Hi,
>>
>> I was not clear in my previous email. It only applies to one line in
>> wikibody, not the entire body.
>>
>> I managed to reduce the code, but still need to use the table markup:
>>
>> (:table width="100%" bgcolor=#eeeeee:)
>> (:cellnr:)
>> !!Elementary
>> (:tableend:)
>>
>> Any ideas that I can take advantage to create less code to enable one line
>> of bg color?
>>
>> Rene V.
>>
>>
>> On 4/21/06 4:43 AM, "noskule" <noskule at gmx.net> wrote:
>>
>>> Rene Visco schrieb:
>>>
>>>> Hi,
>>>>
>>>> I used this code to create bg color:
>>>>
>>>> (:table border=0 width="100%" align=left border="1" cellspacing="0"
>>>> bordercolor="#f7f7f7" bgcolor=#eeeeee:)
>>>> (:cellnr:)
>>>> !Early Childhood Education
>>>> (:tableend:)
>>>>
>>>> I prefer to use less code. I don't feel comfortable using HTML markup.
>>>>
>>>> %bgcolor% did not extend to the right side of the page, only to the end of
>>>> the last word.
>>>>
>>>> What's your suggestion?
>>>>
>>>> Rene V.
>>>>
>>>>
>>>>
>>>>
>>> you may want to try the /skin/pmwiki/pmwiki.css to adjust bgcolors. You
>>> could set colors for example in #wikibody
>>> grz nos
>>>
>>>> _______________________________________________
>>>> pmwiki-users mailing list
>>>> pmwiki-users at pmichaud.com
>>>> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>>>>
>>>>
>>>>
>>>>
>>
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>>
More information about the pmwiki-users
mailing list