|
Не отображается прокрутка ПоляHTML | ☑ | ||
---|---|---|---|---|
0
Sasha_H
22.11.12
✎
16:25
|
&НаКлиенте
Процедура ПриОткрытии(Отказ) Элементы.ПолеHTML.Документ.body.scroll = "yes"; КонецПроцедуры Не помогает: http://s017.radikal.ru/i412/1211/61/33449974762f.jpg http://i077.radikal.ru/1211/b5/ccd5ad771607.jpg А вот сам ХТМЛ текст: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <style type="text/css"> body{margin:0px;padding:8px;overflow:hidden;width:100%;height:100%;} p{line-height:1.15;margin:0px;} ol,ul{margin-top:0px;margin-bottom:0px;} img{border: none;} </style> </head> <body> <p style='line-height: 1.15'></p> <p style='line-height: 1.15'>Тимур, добрый день!</p> <p style='line-height: 1.15'>Пожалуйста, посмотрите, появились ошибки, которых ранее не было. Можно ли их исправить?</p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'>Состояния:</p> <p style='line-height: 1.15'><span style='color: #536ac2;'>Не обработано</span></p> <p style='line-height: 1.15'><span style='color: #0000ff;'>В очереди</span></p> <p style='line-height: 1.15'><span style=' font-weight: bold; color: #008000;'>В работе</span></p> <p style='line-height: 1.15'><span style=' font-style: italic; font-weight: bold; color: #a9a9a9;'>Отложено</span></p> <p style='line-height: 1.15'><span style=' font-weight: bold; color: #dc143c;'>Отменено</span></p> <p style='line-height: 1.15'><span style=' font-weight: bold;'>Завершено</span></p> <p style='line-height: 1.15'><span style=' text-decoration: underline; color: #000080;'>Тестируется</span></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'>Важность:</br> <span style=' font-style: italic; font-weight: bold; color: #808080;'>Низкая</span></p> <p style='line-height: 1.15'><span style=' font-weight: bold;'>Средняя</span></p> <p style='line-height: 1.15'><span style=' font-weight: bold; color: #ff0000;'>Высокая</span></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'><span style=' font-weight: bold;'>ЖИРНЫЙ</span></p> <p style='line-height: 1.15'><span style=' font-style: italic;'>КУРСИВ</span></br> <span style=' text-decoration: underline;'>ПОДЧЕРКИВАНИЕ</span></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'><span style=' font-style: italic; text-decoration: underline; font-weight: bold;'>ВСЕ ВМЕСТЕ</span></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'><span style='font-size: 20pt; font-style: italic; text-decoration: underline; font-weight: bold;'>БОЛЬШИЕ БУКВЫ</span></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'><span style='font-size: 20pt; font-style: italic; text-decoration: underline; font-weight: bold; background-color: #ff0000;'>ЦВЕТ ФОНА</span></p> <p style='line-height: 1.15'><span style='font-size: 20pt; font-style: italic; text-decoration: underline; font-weight: bold; background-color: #ffffff; color: #ff0000;'>ЦВЕТ ТЕКСТА</span></p> <p style='line-height: 1.15'><a target='_blank' href='erp-prof.ru'><span style='font-size: 20pt; background-color: #ffffff; color: #0066cc;'>erp-prof.ru</span></a></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'></br></p> <p style='line-height: 1.15'><span style='font-size: 20pt; background-color: #ffffff; color: #ff0000;'>Картинка:</span></p> <p style='line-height: 1.15'><img src='C:\Users\oleksandr.homyak.VWG\AppData\Local\Temp\image001.jpg' width='796' height='464'/></br></p> <p style='line-height: 1.15'></br></p> </body> </html> |
|||
1
Sasha_H
22.11.12
✎
16:30
|
только не все сразу отвечайте, по одному пожалуйста!
|
|||
2
Sasha_H
22.11.12
✎
16:54
|
<style type="text/css">
body{margin:0px;padding:8px;overflow:hidden;width:100%;height:100%;} p{line-height:1.15;margin:0px;} ol,ul{margin-top:0px;margin-bottom:0px;} img{border: none;} </style> эта лажа мешает. Данный текст ХТМЛ получен из строки ФорматированныйДокумент ПолучитьХТМЛ. 1с жгет цу...о! |
|||
3
Юрий Лазаренко
22.11.12
✎
17:01
|
(2) 1С то тут при чем? Убери overflow:hidden; и наслаждайся полосами прокрутки
|
|||
4
Sasha_H
22.11.12
✎
17:02
|
более точнее ему мешает:
overflow:hidden; решение Либо удалить "overflow:hidden;" или же заменить на overflowX:visible; |
|||
5
Sasha_H
22.11.12
✎
17:03
|
(3) 1С при том, что Данный текст ХТМЛ получен из строки ФорматированныйДокумент ПолучитьХТМЛ.
смысл это делать не понятен!? |
|||
6
Sasha_H
22.11.12
✎
17:07
|
сделал так - все полетело.
ТелоСообщения = СтрЗаменить(ТелоСообщения,"overflow:hidden","overflow:auto"); //отобразим полосу прокрутки |
Форум | Правила | Описание | Объявления | Секции | Поиск | Книга знаний | Вики-миста |