On 12/17/14, 3:43 PM, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
>2014-12-17, 22:24, Gates, Jeff wrote: > >> I only want to hide one headline. Here is the code for that headline: >> <fieldset id="cart-contents"> >> <legend accesskey="y">Your Shopping Cart</legend> >> </fieldset> > >If that is the entire element, you can hide it with > >#cart-contents { visibility: hidden; } > >If it contains other elements, especially controls and their labels, as >it should, and you want to hide just the legend, use > >#cart-contents legend { visibility: hidden; } > >> I¹ve tried this to hide only ³Your Shopping Cart²: >> >> #cart-contents form fieldset legend {visibility:hidden;} > >Well, it matches no elements, since the element with id="cart-contents" >does not contain any form or any fieldset. It *is* a fieldset, so it >could be referred to with fieldset#cart-contents, but it is simpler to >use just #cart-contents. > >Yucca Jukka and Joergen, I’ve already tried #cart-contents legend { visibility: hidden; } and it didn’t work. Actually, that was the first thing I tried. To see the entire code go to http://americanart.si.edu/support/donate/index.cfm, then click on any of the Donate buttons to bring you to our third party shopping cart. Then click the green CHECK OUT button on the lower right to take you to the page I’m trying to alter. Thanks. Jeff ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/