Kimbh Posted November 21, 2011 Share Posted November 21, 2011 Hello, I would like to put a border around Images but only in one section (page_content) of the site and not the whole page. Here is what I have and can someone please help me. #page_content { float: left; width: 480px; margin-top: 10px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px;}Thank you for your timeKimberly Link to comment Share on other sites More sharing options...
Ingolme Posted November 21, 2011 Share Posted November 21, 2011 Just select the image elements that are descendents of #page_select with the descendent selector: #page_select img { border-style: solid;} Link to comment Share on other sites More sharing options...
Kimbh Posted November 22, 2011 Author Share Posted November 22, 2011 Thank you very much, that makes totally sense now I see it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.