Ok, another question I'm trying to apply a border to all images in a site using CSS. However, I don't want the border applied to the header image. How can I do this using CSS?
Border for all images> img { border: ... } No border for images in the header div (or if it's a table put table)> #header img { border: none }
Thanks, that's what I thought it might be, but it doesn't seem to be working? here is what I have in the css: img { border: 2px solid #10120b; } #header { background: none; border: none; } Code (markup): The problem is a border still appears around the header.
img { border: 2px solid #10120b; } #header img { background: none; border: none; } Code (markup): You haven't read what I posted #header img { ... } When you put #header { border: none } you remove the border off of the div, not the image. dmi