tabbing accross with CSS?

Associate
Joined
30 Nov 2003
Posts
1,614
Does anyone know if its possible to tab across text? I need to align some text and obviously don't want to set different padding values for each line of text.
 
Use regular tab characters, and enclose the text in <pre> tags i.e. pre-format the text, and indicate that it should be displayed preformatted.

Code:
just
	like
		this
		code
	box
is
 
You could just use a table :) Tables are only bad to use to lay out your website, they're not bad full-stop :cool:
 
Back
Top Bottom