How to hide a div based on its class

Tags: html,css

Problem :

Can someone please show me how I am able to hide a div based on class, or an image based on its name using CSS? I have the following code below but I am not sure how to hide it as the div doesn't have an id. I am unable to delete or modify this code, hence why I am asking how to hide it. Many thanks.

<div class="jicons-icons">
<img alt="Miscellaneous Information: " src="/media/contacts/images/con_info.png">

Solution :

To hide a div with a class :

.jicons-icons {
    display: none;

    CSS Howto..

    css - how to hide href link nested inside a div?

    How to style xml file? from xml to html using xslt and style that html using css [closed]

    How to avoid jquery library from effecting my css

    How can I improve this markup and CSS to keep things simple and easy to work with?

    How to addStyleNames “Multiple css classes” into 1 element in UiBinder in GWT?

    How to align text vertically

    How to always refresh file loaded by ajax, avoiding cached file

    How do I get a computed style?

    How to apply a CSS transition only to the transform property

    How to vertically center a div for all browsers?

    How to make round corners to both inside of a box and its border?

    How to select element by order ? - Css

    How to only make the text of a link go down by 1px when active and not the whole line/paragraph?

    How to make box light up in navigation bar - CSS

    How to force child element adherence to `flex: nowrap;` CSS directives

    How to say that you need to turn your mobile phone in javascript/css? [closed]

    How to replace default controls with custom buttons in Fancybox 2.1.5?

    How to bind click event on image added using CSS 'background-image' property in jQuery

    How to apply remaining width to a div in the middle of 2 other divs

    How prevent inheriting “position: relative” CSS

    How to center the Nav-Bar

    How to restrict character limit by line or # of characters with css?

    How to hide the toolbar in Chrome for Android tablets for a 100% high website

    CSS how to keep text always inline with a paragraph

    how can the value of an href attribute be changed using javascript/css?

    How to get inputs in the same line with css?

    How can I have a transparent overlay and center with flex box?

    How to add CSS Transition for button sliding

    How to get full height of webpage with CSS?

    How to make string comparison exactly