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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-04-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.