0

I need to display a list of results which will include a name, time, etc. They will be in this format: results. I have looked at using tables, but short of writing a script to parse the text file, it wouldn't work. I think the best option is to make them appear in a monospaced font but I cannot find a way to do this that would not require code written on each post.

Cheers, Will.

3
  • im assuming that long red, medium red are considered individual posts? could you elaborate more on where your grabbing these results from?
    – VicePrez
    May 27, 2011 at 22:40
  • I would reconsider and use a table, it's tabular data.
    – Wyck
    May 28, 2011 at 3:00
  • The whole thing should be one post, it will be grabbed from a txt file, as the other output formats are not 100% computer readable. May 28, 2011 at 4:31

1 Answer 1

1

So you want to import textual content and preserve its formatting, as opposed to parsing it into HTML?

I suppose the <pre></pre> tags are meant for exactly this. However I would consider spending osme effort to parse input after all, otherwise there is little merit in having it in WordPress.

1
  • It only needed to be displayed inline. I am will use a text replacing widget to make adding this format user friendly.. Jun 23, 2011 at 4:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.