I'm trying to add tabs within <code> tags so that when users copy and paste from the page, the tabs are copy and pasted too. However inserting regular tabs via a text editor using a tab key doesn't seem to work.
The same problem applies to carriage returns, but that is easily got round by using <br /> tags, I can't find a tab equivalent.
I need it for this page here ... http://pixopoint.com/test/. It currently uses 's instead of tabs, but my users want a single tab instead of a bunch of spaces.
Any ideas?







re to the code tag then you shouldn't need the <pre> tag.
That would have solved my problem quite easily and been cross browser compatible (I assume).

Bookmarks