On Sat, Feb 21, 2009 at 12:26 AM, David M. Besonen <dav...@panix.com> wrote:
> On 2/19/2009 9:26 AM, Christopher MacMinn wrote:
>
>> You want to hide just the "settings" link, meaning the one
>> that sits between the username link and the "Logout" link?
>> This is an anchor (<a>) with id="userprefs", so try adding
>> a CSS rule in common.css (or screen.css) that looks like
>> this:
>>
>> a#userprefs { display: none; }
>
> thanks Christopher.  that worked great.
>
> what's the difference between adding this CSS rule to either
> common.css or screen.css (and is there a reason i would or
> would not want to add this rule to both files)?
>
> also, does it matter where in the .css file i place this rule
> (is the whole .css file interpreted prior to it being
> "executed")?
>
>  -- david


Hey David,
Honestly, as long as it works, it doesn't really matter which css file
you put it in.  The 'C' in CSS is for 'Cascading', and is designed to
be flexible; you can have multiple files (as you see in your theme,
and they're chained together). The only caveat is that a style later
on in the chain can override a similar style higher in the chain.
This can have interesting repercussions when laying out a page (when
some style element doesn't do what you expect it to do).

As you get into css, there are a few really nice tools to help you.
One of the most popular is the Web Developer" plugin for Firefox
(https://addons.mozilla.org/en-US/firefox/addon/60).  Once installed,
select "View Style Information" from the the 'CSS' menu, then mouse
over elements on your page, and you can see what style is applying to
that particular element.

Hope this helps...

-Rick

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to