Quote:
Originally Posted by GrannyGrump
So... if I want to style, for example, a "For Sale" sign.
I should style it as such:
<div class="centrd">FOR SALE</div>
<div class="centrd">FRESH STRAWBERRIES</div>
<div class="centrd">ENQUIRE WITHIN</div>
Rather than
<div class="centrd">FOR SALE<br />
FRESH STRAWBERRIES<br />
ENQUIRE WITHIN</div>
I simply do not comprehend why the <br /> is any uglier than multiple <div>s. Plus, you have what might be considered extraneous tags...
Educate me some more, please?
|
There is also the reality that not all reading systems will necessarily recognize breaks. Most do, no argument. But not all.
Does anyone else remember some kerfuffle, over this, about...5+ years ago? Some eReader that didn't honor the multiple breaks?
Hitch