Forum Moderators: not2easy

Message Too Old, No Replies

multiple div names

         

tonynoriega

5:11 pm on Feb 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



is this not valid?

#mem-top-half, #mem-top-half2 img{
border:0px;
}

becuase it seems as though only half2 has the border:0px; applied to it?

swa66

6:06 pm on Feb 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the border:0 (no need to write the px on value zero), is going to be applied to an element with id="#mem-top-half" and on an image that's a child of an element with id="#mem-top-half".
note the part before the comma doesn't have the img ...

tonynoriega

6:45 pm on Feb 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



so, should be:

#mem-top-half img, #mem-top-half2 img{
border:0;
}