CSS

The difference between IDs and Classes in CSS

Cascading Style Sheet (CSS) styles are most commonly applied to elements (paragraphs, links, images, etc.) within a web page by one of two ways: either through ID selectors or class selectors. For example: <div id="id-selector">style applied with ID<div> <div class="class-selector">style applied with class<div> When first learning to use CSS I think it can be confusing [...]

Read the rest of this entry...