Показать сообщение отдельно
10.06.2011, 12:32
  #1
Переводы в 2 колонки на форуме
administrator
Главный барабашка
 
Аватар для administrator
 
Регистрация: 11.10.2009
Сообщений: 6,402
Вес репутации: 10
administrator has much to be proud ofadministrator has much to be proud ofadministrator has much to be proud ofadministrator has much to be proud ofadministrator has much to be proud ofadministrator has much to be proud ofadministrator has much to be proud ofadministrator has much to be proud of
Как-то меня спросили можно ли на форуме писать текст и перевод в 2 колонки рядом, чтобы было удобнее читать или проверять. Стандартными средствами я сходу не нашел как это сделать, поэтому решил немного поразвлекаться и сделал сам.

В общем, все очень просто. Используете следующую схему:
Код:
[table ]
Cause I may be bad, but I'm perfectly good at it 
Sex in the air, I don't care, I love the smell of it 
Sticks and stones may break my bones 
But chains and whips excite me 
[separator ][/separator ]
Cause I may be bad, but I'm perfectly good at it 
Sex in the air, I don't care, I love the smell of it 
Sticks and stones may break my bones 
But chains and whips excite me 
[/table ]
(Только пробелы надо убрать перед закрывающими квадратными скобками ])

И текст после загрухзки страницы переоформляется в 2 колонки:

Cause I may be bad, but I'm perfectly good at it
Sex in the air, I don't care, I love the smell of it
Sticks and stones may break my bones
But chains and whips excite me

Cause I may be bad, but I'm perfectly good at it
Sex in the air, I don't care, I love the smell of it
Sticks and stones may break my bones
But chains and whips excite me

Cause I may be bad, but I'm perfectly good at it
Sex in the air, I don't care, I love the smell of it
Sticks and stones may break my bones
But chains and whips excite me

Cause I may be bad, but I'm perfectly good at it
Sex in the air, I don't care, I love the smell of it
Sticks and stones may break my bones
But chains and whips excite me


P.S. Живой пример
__________________
Родион
administrator вне форума   Ответить с цитированием