It's a pretty solution, but it doesn't word-wrap...at least not in Safari. Make your browser window thinner and see what happens?

What I'm doing is no different except that I'm going through the trouble of having php count the number of tabs and then using that information to insert the correct class. If there are more than 5 \t's I just stop it there. This information is coming out of a database so it's no trouble going this route...


Oh, I'm not using pre either...v


On Jun 1, 2005, at 1:08 AM, Lachlan Hardy wrote:

Vaska.WSG wrote:
I've been reading around (via Google) and I find others with similar problems but no solution. Is there a solution to this?

Whenever I present code in a page, I use something similar to the method Simon Willison put forward by in July 2002: http://development.incutio.com/simon/numbered-code-experiment.html

Works for me. I've yet to find a better method (although if someone has one...)

Cheers
Lachlan
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************




******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to