You can easily find the selectors you need by utilizing the Firebug add-on for Firefox. Once you have that installed, simply place your mouse pointer over the element in question, right-click (Ctrl-click on a Mac), and choose "Inspect Element" in the context menu. Firebug will open, and will display information regarding that element. On the left side, you will see where it is found in the document tree. On the right, you will most likely find a box with all of the CSS rules that apply to it, including the selectors that were used to declare the rules and where they are found in the various stylesheets that have been applies.
By the way, Firebug is useful for a lot more than this, too. So I would strongly recommend that, if you don't have it already, you install it right away. Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Aug 27, 2010, at 12:09 PM, Ruth wrote: > I'm trying to adapt the stylesheet for Google's Minimalist Custom > Search theme in order to change it from black text on white background > to white text on a black background. > > I've copied the stylesheet hosted at > http://www.google.com/cse/style/look/minimalist.css > and have amended it fairly successfully, but I am having difficulty > identifying the classes which control the look of two items. > > 1) The No Results box which appears when there are no matches is a > pale salmon pink colour and the text in it has disappeared as it now > the default white font. > > 2) The non-active page selectors (i.e. page numbers) at the bottom of > the results have disappeared because of the change of the background > colour. > > Could anyone tell me the names of the classes which control these two > areas or point me to a full list of the classes used in Custom Search > please? > > Thank you, > > Ruth > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
