Hello,
When styling a DIV as follows:
<div id="intro" class="Intro">S ome intro text</div>
Should I use a class:
..Intro {...}
Or:
#Intro {...}
As far as I know if this div is unique I should use #Intro, if their
styles are not unique I should use .Intro.
But I read somewhere that I should use always .Intro and not
#Intro ...
Just checking.
Thanks,
Miguel
When styling a DIV as follows:
<div id="intro" class="Intro">S ome intro text</div>
Should I use a class:
..Intro {...}
Or:
#Intro {...}
As far as I know if this div is unique I should use #Intro, if their
styles are not unique I should use .Intro.
But I read somewhere that I should use always .Intro and not
#Intro ...
Just checking.
Thanks,
Miguel
Comment