Hi Matthew

I wanted to know if there could be the possibility for prepending the indent for the headXXX containers before the HTML tag?

Being a bit too precious about HTML output (!) I've set up pages so that they try and indent reasonably well based on content.

e.g.

<html>

    <head>
        <title>...my title...</title>
<?= $this->headScript() ?>
    </head>
..etc...

If I have a <?= $this->headScript() ?> placed at the start of a line and it's empty, it produces no output (which is good). But if it does, the output starts at the 0 character mark of a line, rather than where I'd like it to start (e.g. 8 spaces in).

Could I be pedantic and request an indent value for the tag(s) for these containers if they're non-empty? Then the existing indent value could be added to this for all child elements.

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "

PeptoLab will be closed:
Saturday 22nd December through until Wednesday 2nd January
For urgent requests, please call 0438 046 061

202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com

Reply via email to