[pmwiki-users] Images: vertical align
Mike
mike at widowitz.com
Thu Oct 19 12:13:11 CDT 2006
I got it working, thanks!
However, to avoid complication to the code, I now decided to simply go
for a class attribute and define the styles in the skin's CSS file.
Therefore my next question: is it possible to define (in
local/config.php) an additional CSS file to be loaded in addition to the
one of the skin? Because, I'd like these definitions to be available
also when I decide to switch the skin...
Thanks,
Mike
Patrick R. Michaud wrote on 19.10.2006 18:28:
> On Thu, Oct 19, 2006 at 12:07:10PM -0400, Henrik wrote:
>> I also added
>>
>> $WikiStyleCSS[] = 'vertical-align';
>>
>> to my config file so that the wiki style routines would recognize the rule.
>>
>> Plus I use %apply=img...
>>
>> Is %img... enough?
>
> Oh yes, it might need to be %apply=img ...% instead of %img ...% .
> Although one can certainly make %img ...% work by doing:
>
> %define=img apply=img%
>
> or
>
> $WikiStyle['img']['apply'] = 'img';
>
> Thanks!
>
> Pm
>
>> Patrick R. Michaud wrote:
>>> On Thu, Oct 19, 2006 at 03:58:30PM +0200, Mike wrote:
>>>
>>>> Hello,
>>>>
>>>> I have an image and would like some text to go next to it, but be center
>>>> aligned:
>>>> ...
>>>> I fiddled around with %lfloat% and %left%, and also defined the CSS
>>>> property "vertical-align", but didn't manage to have it apply to *the
>>>> image* (and not to the <span> *around* the image).
>>>>
>>>> The documentation doesn't mention this point.
>>>>
>>>> Any hints?
>>>>
>>>
>>> Perhaps %img vertical-align:center% would work?
>>>
>>> Pm
>>>
>>> _______________________________________________
>>> pmwiki-users mailing list
>>> pmwiki-users at pmichaud.com
>>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>>
>>>
>> --
>>
>> Henrik Bechmann
>> www.osscommons.ca
>> www.bechmannsoftware.com
>> Webmaster, www.dufferinpark.ca
>>
>>
>
More information about the pmwiki-users
mailing list