Tags:
create new tag
, view all tags

Question

I have a different image for WEBHEADERART and it looks best if it is aligned with the right side of the screen and not the left. The logo image should stay fixed where it is, on the left, but ideally the top-bar content is an image that is right-aligned and floating.

I tried creating a file named "mystyle.css" with these contents:

#patternTopBar {
        position:relative;
        float:right;
        display:inline;
        margin:0;
        text-align:right;
}

Then I attached this file to my WebPrefences topic and I also set the USERLAYOUTURL variable.

As far as I can tell from reading PatternSkin topics, this is the right approach, so there must be something I am misunderstanding. I grepped the entire installation and could not find a topic where the WEBHEADERART variable is actually used. It seems to get used in some file named css.pattern.tmpl, but the contents of that file were a bit confusing for me.

At the moment I am thinking perhaps it is not even possible to do this, because I thought it would be quite common request, yet I found no cookbook example for it.

Any help greatly appreciated...

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux Redhat 9
Web server: Apache 2.0
Perl version: 5.8
Client OS: Linux Redhat 9
Web Browser: Mozilla 1.4.2
Categories: Skin

-- EdBlosch - 21 Feb 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

 
Topic revision: r2 - 2006-04-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.