Could somebody explain to me what is exactly the difference between using <div class=””> and <div id=””> for positioning. It is proberly pretty simple I just can’t figure out when to id and whem to use class.
@AdamGundryAug 28.2004 — #The basic difference is that you can have multiple classes per page, but IDs must be unique (which makes them useful for JavaScript programming, amongst other things). It's really a matter of preference; if you need to access the element with a script then you should use ID, but for simple CSS I tend to use class in case I need to reuse the same style.