The "#Video" selector matches an element with an id of "Video". Ex: <div id="Video"></div> The ".Video" selector matches an element with a class of "Video". Ex: <div class="Video"></div>
A useful tool when setting started with selectors is http://gallery.theopalgroup.com/selectoracle/ dcm On Feb 23, 8:30 am, Sems <[email protected]> wrote: > I'm learning CSS now and have a basic question. > > This applies to all headers, links, and links in a header... > > h1, h2, h3, h1 a, h2 a, h3 a > { > color: #C00; > font-family: Georgia,Serif; > font-weight: normal; > > } > > This applies to any element that has an class of 'Video'... > > #Video{background-color:#F1EEEE;} > > So what does this apply to? > > .videoContent{background-color:#fff;} > > What does the . notation mean? > > Thanks -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected]
