Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
teej
on May 4, 2009
|
parent
|
context
|
favorite
| on:
Ask HN: How to fix overwide pre text?
Right now, your css reads as follows:
pre { overflow:hidden; padding:2px; }
Changing it to the following works for me in both Firefox and Safari:
pre { overflow:auto; padding:2px; max-width:500px }
pg
on May 4, 2009
[–]
Thanks, that is exactly what I was looking for. I put it in
http://ycombinator.com/news.css
and it seems to work.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: