Jump to content

psywalker

Moderator
  • Posts

    13707
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by psywalker

  1. возможно, но как сэмулировать справа фон? Точно ведь не угадаешь сколько нужно пикселей. В той же опере будет по другому выглядеть. А ты можешь сделать тестовую страницу с примером. И показать скриншоты того, как нужно, чтобы было, во всех состояниях и как не нужно. Чтобы я точно увидел, что за картинки и т.д. И ещё вопрос: О каких пикселях идёт речь? Что ты имеешь ввиду?
  2. Вот в общем придумал такой вариантик, немного косячный с полосой прокуртки. Очень надеюсь, что кто нибудь из Экспертов покажут хорошее решение, на чистом CSS. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Документ без названия</title> <style type="text/css"> html {overflow-x: hidden;} html,body {height: 100%; min-height: 700px; margin: 0; overflow: hidden; } .fixed {width: 200px; height: 500px; background: red; float: left;} .wrap { position: relative; height: 100%; overflow: auto; margin-left: 250px;} .basis {position: relative; min-height: 100%; } .content { padding-bottom: 120px;} .foot { height: 100px; position: absolute; background: black; bottom: 0; left: 0; width: 100%; }/**/ </style> </head> <body> <div class="fixed"></div> <div class="wrap"> <div class="basis"> <div class="content"> <p>Carpet Removal Shortly about us Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc. Wood Floor Sanding Wood Floor Varnish Wood Floor Repairs and Restorations Gap Filling Wood Floor Polishing Wood Floor Oiling Wood Floor Waxing Carpet Removal </p> <p>Carpet Removal Shortly about us Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc. Wood Floor Sanding Wood Floor Varnish Wood Floor Repairs and Restorations Gap Filling Wood Floor Polishing Wood Floor Oiling Wood Floor Waxing Carpet Removal </p> <p>Carpet Removal Shortly about us Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc. Wood Floor Sanding Wood Floor Varnish Wood Floor Repairs and Restorations Gap Filling Wood Floor Polishing Wood Floor Oiling Wood Floor Waxing Carpet Removal </p> </div> <div class="foot"></div> </div> </div> </body> </html>
  3. Я позже освобожусь, покажу решение.
  4. skiph, Не подойдёт? http://forum.htmlbook.ru/index.php?showtopic=28635&view=findpost&p=216104
  5. http://screencast.com/t/3dsU7gdvf да, заметил. Значит не прошло предположение с прибитым футером. Однако, если сделать ему релатив, то фиксед под ним будет скрываться. Ну можно вообще его прибить абсолютом, тогда никакие релативы и з-индексы не нужны будут. На самом деле суть не в этом. Решение мне самому интересно, попробую позже покопаться, отпишу, если что. Тут эмуляцию надо делать, я полагаю...
  6. http://screencast.com/t/3dsU7gdvf
  7. Да с чего бы? А с чего бы нет? Оно будет прокручиваться, но до определенного предела. Т.е. фиксед не упадет в самый футер, если он не позиционрован именно с bottom:0; Так, погоди-ка. Мы говорим о разных вещах или нет? Я говорил про то, что фиксед не прокручивается вместе с остальным сайтом, а всегда остаётся на месте. Т.е. на том месте экрана, где он находится. Пляшет от экрана короче. Да, все правильно ты говоришь. И я говорю про то, что если задать блоку top:100, то он всегда будет на этом месте, но при этом, он будет находиться в пределах страницы. Т.е. страница-то не бесконечная, вот я о чем. Поэтому и выдвинул гипотезу с прибитым футером, т.е. чтобы на нем страница заканчивалась. А всё равно будут косяки. Попробуй сделай вариант, покажи плиз.
  8. Тогда футер полюбому будет на него наезжать при чуть плохой игре.
  9. Да с чего бы? А с чего бы нет? Оно будет прокручиваться, но до определенного предела. Т.е. фиксед не упадет в самый футер, если он не позиционрован именно с bottom:0; Так, погоди-ка. Мы говорим о разных вещах или нет? Я говорил про то, что фиксед не прокручивается вместе с остальным сайтом, а всегда остаётся на месте. Т.е. на том месте экрана, где он находится. Пляшет от экрана короче.
  10. Да с чего бы? А с чего бы нет?
  11. Всё, что не фиксед, будет прокручиваться. Выход: сделать футер тоже фикседом.
  12. Да не работает у тебя нихрена. Попробуй в хроме экран сделать меньше, сразу косяки полезут. В общем решение следующее. У тебя блоки фикс по высоте, а значит в ячейки дивы, им высоту, релатив и уже внутрь этих дивов клади кнопки, на абсолюте и их по низу выравнивай координатами.
  13. sigma77, Спасибо Оксан, хорошо объяснила прям На счёт бордер-имедж слышал, ага
  14. Да и с размытием можно - http://jsfiddle.net/fainz777/WN8vL/1/ В Мозилле можно в принципе, если толщина границы больше 1px закрашивать каждую линию в свой цвет - http://jsfiddle.net/fainz777/WN8vL/2/ Не помню, есть ли аналоги в других браузерах. Оксан, спасибо. А объясни плиз, как работает вот эта вещь? 1) -moz-border-top-colors: #e00 #c30 #c50 #c60 #c70 #c80 #c90 #ca0 #cb0 #cc0; 2) А можно ли задавать свои изображения?
  15. К счастью, IE самовольно в обход спецификации позволяет задавать гораздо больше. Поэтому из комбинации first/last/nth-child и col можно слепить достаточно кроссбраузерную штуку. Дружище, а можешь перечислить те вещи, которые позволяет делать ИЕ с col
  16. Абсолют не пашет для ячеек таблицы. Поэтому я удивляюсь, как все, кроме фф, смогли поддасться на этот трюк. Дай ссылку посмотреть.
  17. А фаербаг слабо открыть? border: 8px solid transparent; box-shadow: 0 0 8px rgba(0, 0, 0, 0.15); А если человеку нужны ИЕ6-8, то твой код не поможет. Прикольно кстати. Слушай, а вместо тени можно как нить свою картинку вставлять?
  18. А покажи скриншоты того, как должно быть и как не должно.
  19. А как должно работать? Цель?
  20. Underline, Зацени тут, дружище, похожая задача была: http://psywalker.ru/SAITS/Izoprint2/main-page.html
  21. Я предлагаю прям изначально грузить картинки в кэш браузера. Вот тебе пример http://psywalker.ru/Forum/JS/Primitive/Dom-Zadachi/MultFilm/MultFilm2.html
  22. Отрубал, без него работает. Но он нужен, т.к. галерея — главный элемент страницы. Тогда думай, что тебе важнее, либо ищи другой скрипт, либо попробуй сверху написать свой на чистом ЖС для подвала. Сразу бы сказал, что не знаешь, как решить поставленую задачу. Зачем форум мусором заполнять, ты же администратор? А насчет гибкости — не вижу разницы между контейнерами body и div... да и html можно еще задействовать... Где ты увидел мусор в полезных советах? Гибкость заключается в том, что: 1) body - это тело документа, а т.е. в нём должен находится сайт, т.е. блок с сайтом, а не отдельные куски. 2) Сайт без обёртки часто сулит проблемы с джиквери, уже не раз это замечал. И не только по твоему случаю. 3) Обёртке можно легко назначить фон, отцентрировать её и т.д. Что с body не прокатит. Вот тебе обычный пример: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Документ без названия</title> <style type="text/css"> * { margin: 0} html{ height: 100%;} body { width: 600px; margin: 0 auto; background: red url(children.jpg); min-height: 100%; position: relative;} </style> </head> <body> fsfjdsdf jsdkjdskjd slkdsjkljds kldsj </body> </html> Тут видно, что фон-картинка всё равно распространяется на всё окно, не смотря на то, что у твоего body стоит ширина. 4) Покажи мне хоть ОДИН источник, где футер прибивали, пользуясь только body? Это только цветочки...
  23. Откуда такие цифры? Да по ощущениям. Кого не спроси - Москва или подмосковье. И это логично, так как количество людей имеющих нормальный инет в одной только Москве чуть ли не больше, чем во всей остальной России вместе взятой. Да нее, человек 200 максимум из 20000 москвичи.
  24. В том, что, например, ему можно задавать размеры, а так же верхние, нижние маргины и всё это будет работать.
  25. Откуда такие цифры?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy