Hi all,
I want to remove as many ‘br’ and ‘strong’ and ’em’ tags as possible from my page, so everything’s pretty much controlled by CSS.
I have a bit of an issue which I hope you can help me with.
[code]
.indent2 { margin-left: 10px; }
.indent3 { margin-left: 20px; }
.indent4 { margin-left: 30px; }
<strong>word1:</strong> word2
<br /><span class=”indent2″><strong>word3:</strong> word4</span>
<br /><span class=”indent3″><strong>word5:</strong> word6</span>
<br /><span class=”indent4″><strong>word7:</strong> word8</span>
<br /><span class=”indent4″><em>word9</em></span>
I’ve tried a few ways to compact the code (using h3/h4 tags – (h1 and h2 are used for other headings)) to align it more with CSS but this always causes words 2,4,6,8 to be pushed down a line.
The output [i]should
[b]word1:
[b]word3:
[b]word5:
[b]word7:
[i]word9