CSS : dot (.) vs hash (#)


CSS : dot (.) vs hash (#)
. => class selector
# => id selector

so

.lblClass { width:20dp; } -> <label class="lblClass"/>

#lblID {widh: 10dp;} -> <label id="lblID"/>


PS. The # symbol is called an octhrope

Comments

Popular posts from this blog

GOVERNMENT OF RAJASTHAN TEACHER TRANSFER LIST 2014

Unable to add selected web part(s).

Orientation change shortcuts for emulator and simulator