Link to home
Start Free TrialLog in
Avatar of xenium
xenium

asked on

HTML tab stops for tab-delimited plain text

hi,

I understand the <pre> </pre> tags allow plain text to be displayed with line breaks etc, no need for HTML markup.

Is there also a way to set tab stops unfront so that tab-delimited plain text can be displayed without markup?

eg
<some tab definition code>
<pre>
my plain text with tabs   col 2  col 3 
blabla col2 col 3
</pre>

Open in new window


Thanks
ASKER CERTIFIED SOLUTION
Avatar of Jan Louwerens
Jan Louwerens
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xenium
xenium

ASKER

Thanks a lot

Is there a way to set the tab size for each column?

I'm guessing not.... https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size

Also what are the  -moz-tab-size lines and -o-tab-size lines, for different browsers?

https://www.w3schools.com/code/tryit.asp?filename=FOZ5BFYQYGQS
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xenium

ASKER

Thanks a lot