[pmwiki-users] Images: vertical align

Mike mike at widowitz.com
Fri Oct 20 01:41:07 CDT 2006


That's what I was looking for. Thanks.

Patrick R. Michaud wrote on 19.10.2006 20:01:
> On Thu, Oct 19, 2006 at 07:13:11PM +0200, Mike wrote:
>> 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...
> 
> How about putting the styles into pub/css/local.css then?  That way it'll
> be used in every skin.
> 
> Pm
> 
> 
>> 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