Quote:
Originally Posted by Paulie_D
As a 'coder'of sorts, (primarily web) I would tell anyone that using the break tag for spacing is poor practise.
I'm not saying it doesn't have it's place but using it for spacing is not recommended. That's what margins/padding are for.
This
Code:
<h1 class="center"><a href="Section003.xhtml#start">Test</a><br/>
Some sub header</h1>
Should be replaced with this
Code:
<h1 class="center"><a href="Section003.xhtml#start">Test</a></h1>
<h2 class="center">Some sub header</h2>
It's certainly more semantic.
Whether this has an specific relevance to e-publishing is perhaps questionable but 'poor' code is something to be noted even if we choose to use it for own own reasons.
Understand I'm not running anyone down for it...just expressing one man's opinion.
|
It may be 'proper' coding, bet it fails the Auto-TOC job
Test
Some Sub header
(both are essentially the same location)
is not what is desired in a TOC, especially on a smaller screen