On 06/20/2010 11:08 AM, Gerritjan Koekkoek wrote:
Hi,
I would like to apply some CSS styling to a panel only.
I have some velocity code creating a<ul> list
I would like to use the CSS as documented on
http://meyerweb.com/eric/css/edge/menus/demo.html
but it should only apply to the panel,
I use the same velocity code also on a document, and there the styling should not be
applied
Use proper CSS selectors. Each panel has a classname derived from the
panel's name, which you can use to target just the panel. For example,
My Recent Modifications has the classname MyRecentModifications. Use
Firebug, or view page source, to see what classname your panel gets.
Then, use this classname as a prefix in your selectors.
Another option is to just use .panels as a prefix, which matches only
the panels columns,
--
Sergiu Dumitriu
http://purl.org/net/sergiu/