Re: HTML tab

From: Date: Thu, 12 Apr 2007 20:32:46 +0000
Subject: Re: HTML tab
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-252788@lists.php.net to get a copy of this message
2007. 04. 12, csütörtök keltezéssel 21.30-kor Panquekas ezt írta: > I use "\n" an "\t". But the spaces in the tab are too long. I just > want 2 spaces in each line. look at what I said. "\n " is a "\n" and two spaces. is that not good? BTW include the list in the replies please greets Zoltán Németh > > On 12/04/07, Zoltán Németh <znemeth@alterationx.hu> wrote: > 2007. 04. 12, csütörtök keltezéssel 21.22-kor Panquekas ezt > írta: > > Hello, > > > > I'm trying to indent my HTML, but I have an problem. > > So, what I have now is: > > <html> > > <head> > > (...) > > > > And I want something like: > > <html> > > <head> > > (...) > > > > But when I use "\n\t" in a echo comes out something like > this: > > > > <DIV ID="menu"> > > <P>Hi</P> > > > > > > As you can see, the tab has 4 spaces and in the bottom as 8 > spaces and I > > just want only 2 spaces in each newline. > > How can I do that? > > > > well, you could use "\n " for the newlines, no? > > greets > Zoltán Németh > > > Thanks in advance. > >

« previous php.general (#252788) next »