I'm planning on making a general site for myself and am using CSS properly for the first time. Before I had only used two or three styles in the header of the page but now I'm going all out CSS lol.
What I've done is placed a <div> around almost everything I think I might want to customise at some point eg:
Is there such a thing as <div> overkill and am I going to end up there, or is this perfectly acceptable?
What I've done is placed a <div> around almost everything I think I might want to customise at some point eg:
Code:
<div class="block">
<div class="sectitle">
Section Title
</div>
<div class="subtitle">
Sub Title
</div>
<div class="imgdescarea">
<img src="images/blah.jpg" height="150" width="100" alt="picture" />
<div class="imgdesc">
Description text etc etc...
</div>
</div>
Is there such a thing as <div> overkill and am I going to end up there, or is this perfectly acceptable?