[dev] Themelogo code

Stuart Bingë omicron-list at mighty.co.za
Fri Mar 19 14:11:05 PST 2004


On Friday, 19 March 2004 21:16, AJ wrote:
> Yes, it works now.. but seems to tile the image, is this right?

Yep, that's right. Unfortunately you can only specify the height; the parent 
table's style is set to "width: 100%" so any 'width' properties are ignored. 
If you want a centered logo which only appears once then you'll have to add 
the following lines to your '.themelogo' section (obtained from W3's CSS 2.1 
definition, <http://www.w3.org/TR/2004/CR-CSS21-20040225/colors.html#q2>):

$css['.themelogo']['background-position'] = 'center';
$css['.themelogo']['background-repeat'] = 'no-repeat';

Cheers,

-- 
Stuart Bingë

  EMail: omicron at mighty.co.za
 Mobile: +27 83 298 9727


More information about the dev mailing list