Is there any way of indenting html code that is dynamically generated as i indent all my other html/server side code only to have everything flat to the left when SS code is generated.?
@bokehNov 03.2007 — #Is there any way of indenting html code that is dynamically generated[/QUOTE]Just add some space in your echo statements where needed. The menu div in this demo is created dynamically with a recursive function.
@knowjauthorNov 04.2007 — #Is there no simple way to just tab indents in then without adding information to each echoed statement as i am currently building a pretty extensive e-commerce system and i can see that putting unneeded load on each script.
@bokehNov 04.2007 — #i can see that putting unneeded load on each script.[/QUOTE]You can't have your cake and eat it. There is no possible task that doesn't put extra load on the server. In this case the choice is between vanity and server load. Which is more important to you?