Hi guys,
I'm trying to find what would be the the most versatile bit of HTML code so that I can be sure that, whatever I want to achieve, I will never have to edit the HTML code.
Although I'm not certain that such a feat can be achieved, here is my very first attempt :
Code:
<div id="element-container">
<div id="element">
<span class="cont">
<span class="cont-top">
‘
</span>
<span class="cont-middle">
<span class="cont-left">‘</span>
<span class="cont-text">Content</span>
<span class="cont-right">‘</span>
</span>
<span class="cont-bottom">
‘
</span>
</span>
</div>
</div>
What do you think of the idea?
I reckon that the html code would be huge if such code was used for every distinct element.
What would be the right compromise?
Thanks for your thoughts