|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
|
Опции темы | Поиск в этой теме |
30.11.2011, 15:49 | #1 |
Регистрация: 30.11.2011
Сообщений: 5
|
Страница сайта "уезжает" влево
Есть такой шаблон - http://rghost.ru/32649991
При добавление большого количества текста в div "body_area" страница "уезжает" на пару десятков пикселей влево. Данный эффект заметен только если раскрыть страницу на весь экран в браузере (Maximize). Как можно это побороть? Спасибо. Последний раз редактировалось Bonivur; 30.11.2011 в 17:04. |
30.11.2011, 20:56 | #2 |
Регистрация: 30.11.2011
Сообщений: 5
|
Код CSS
Код:
|
30.11.2011, 20:56 | #3 |
Регистрация: 30.11.2011
Сообщений: 5
|
И код страницы:
Код:
|
30.11.2011, 22:19 | #4 |
Регистрация: 30.11.2011
Сообщений: 5
|
Решение нашёл сам. Проблема была в том, что добавлялась ширина скроллбара к ширине страницы. Отсюда и прыжок влево. Решилось установкой
html {overflow-y:scroll;} хотя так вертикальный скролл-бар становится виден всегда |
01.12.2011, 15:20 | #5 |
Очень суровый
Участник клуба
Регистрация: 17.12.2009
Сообщений: 1,988
|
Почему не auto, а Scroll?
Ненавижу быть как все, но люблю, чтобы все были как я.
Последний раз редактировалось MyLastHit; 01.12.2011 в 19:09. Причина: пунктуация... |
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Нужно поле "Загрузить файл" в "новости сайта" | planetary | Помощь студентам | 1 | 24.06.2010 12:26 |
Аналог функции "Сохранить как->Веб-страница, полностью" | beemoto | Работа с сетью в Delphi | 1 | 23.11.2009 17:12 |
Аналог функции "Сохранить как->Веб-страница, полностью" | Magister Yoda | Работа с сетью в Delphi | 16 | 22.09.2009 12:53 |