I'm trying to get the same behavior as a \t in html. How can I get that?
Like when I have \r\n, I'm using <br/>. What about \t?
Thanks,
Mike.
I'm trying to get the same behavior as a \t in html. How can I get that?
Like when I have \r\n, I'm using <br/>. What about \t?
Thanks,
Mike.
For a tab, you can use 	 in a <pre></pre> tag
Another approach is to use css to space it out.
.tabbed {
padding-left: 4em;
}
This is a sentence up to the <span class="tabbed">tabbed part</span>
<br/>This is a bigger sentence up to the <span class="tabbed">tabbed part</span>
<br/>
.. but that doesn't line things up, it just puts in a gap - as shown by the two sentences of different lengths in the code snippet.
But, if you are looking for a tab solution that allows you to have multiple columns of text all lined up, you probably should use a table instead of simulating a table with tabs.