CSS selector usage for specific elements

Hello,

I have the images on my page padded exactly how I want them. However, because I styled them soley off of the img element, my logo gets padded as well. I tried using the selector “>” but I haven’t had much luck. Any tips on how to pad just the school images? Thanks!!

http://layerbay.com/detatchment550/schools/

Hi There,

Thanks for writing in!

The URL is not working for us! Showing some IP error.

Meanwhile you can try this Selector method.

#parentcontain-id img {
     /* custom css goes here*/
}

or

 .parentcontain-class img {
    /* custom css goes here*/
}

Hope this helps!

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.