Jump to content

psywalker

Moderator
  • Posts

    13,707
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by psywalker

  1. И кстати у меня тоже хрень какаята со сном, я спать ложусь только в 5-6 утра, а просыпаюсь например в 14:00, но понимаю, что так жить нельзя, потому что надо как то вовремя ложится и вообще режим наладить, но как это сделать, я ваще хз, походу нереал блиин.
  2. Я их все прочитал и могу высказать мнение: 1) Книга Михаила Дубакова Иксусство верстки - Старьё уже 100%, ничего интересного на 2009 я там не нашёл, примитив старый! 2) Мастерская CSS - Она как бы 2008 года, но на самом деле просто выпущена поздно, а материал там весь не новый, трюки которые там предлагаются, я бы честно сделал лучше, использовав даже меньше материала, када читал, всё проверял, за слова отвечу. Далее она тоже собрана из разных статей и источников, немного оттуда, немного отсюда, вобщем ничего нового я для себя из неё не узнал,НО: она в отличии от первой намного интереснее и полезнее начинающим разработчикам 100% 3) Эрик Майер Каскадные таблицы стилей - А вот эту книгу я бы рекомендовал всем без исключение, офигенная вещь,полная спецификация на русском языке, я её щас третий раз перечитываю, просто супер! Но боюсь, что начинающим она будет рановата...А так первые две ей в подмётки не годяться, это уж точно!
  3. Тебе жена нужна, что-бы тебя погоняла веником в кровать, когда ты поздно ложишься
  4. Может тебе так кажется дружище, вроде 14пк так и есть с виду Просто может в фотошопе ты увеличиваешь макет и так кажется?
  5. wewwew Ну что, ты всё понял, что тебе дядя Great Rash сказал?
  6. Спасибо, рад, что смог как то тебе помочь
  7. не ори и попробуй так :focus {outline: 0; }
  8. Вообще поидее самые сильные считаются Важные объявления пользователя, далее идут как раз таки Важные объявления автора, но если ты задашь important как автор, то другие авторы не смогут переопределить эти стили, только если явно не поменяют твои... Связана как раз таки в самом прямом смысле, так как important имеет самый высокий приоритет даже над подставляемыми в строку стилями (style=""), но пользоваться им надо всё же с умом, потому что иногда такая сила может очень плохо сказаться
  9. Да всё нормально, сам не профи
  10. вообще тема странная, но если хотите поднять вес своих ссылок, то поднимите их специфичность, например с помощью пары идентификаторов, что-бы наверняка: #p-personal #p-personal2 ul a
  11. а дай мне архив с картинками, я тебе сделаю
  12. Так вот положи всё это добро в общий контейнер, задай ширину и выровни по центру, как это делается по человечески
  13. Justnewone Кстати тоже интересное решение! bodyk Нее, ну так дело не пойдёт, ты сделал полную противололоженность своей задаче, тоесть ты во первых не сделал меню на списках, а во вторых текст у тебя не перескакивает на другую строку при переполнении ссылки, я уже не говорю о левом фоне, который у тебя попусту не тянется вообще. Лучше возьми за основу одно из наших решений, доработай под себя и будет всё гуд и везде работать!
  14. А мне легче сначала сразу всё обнулить, а потом уже поправить для всех нужных элементов
  15. Кстати на самом деле достойное, я просто на тот момент помойму всё перепробовал, а это оказалось самое идеальное, так что такие вот дела
  16. Justnewone Спасибо, понял тебя. Вообще каждый выбирает для себя, как ему действовать, я конечно же не так много сверстал сайтов, но пока что вот с таким сбросом у меня проблем не возникало. mishka2 А у тебя хочу спросить, вот ты говоришь, что дефолтовые значения обнулять не надо, ну хорошо, а тогда ответь: Ты когда нибудь видел что-бы на макете меню например было нарисовано с отступом в 40 пикселей или цитата с другим? Ведь задачи всегда разные и соответственно отступы тоже, поэтому и обнуление я считаю обоснованными!
  17. Да нееет друг, так дело не пойдёт, какой же я гений, если это решение не работает во первых во во всех браузерах, а во вторых ты ещё и div.one, div.four { overflow: auto; } добавлял, вот сначала получи кросс-решение, распишись, а потом посмотрим <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> *{ margin: 0; padding: 0;} body,html { height: 100%;} div.wrap { min-height: 100%; position: relative;} div.wrap div.case { overflow: hidden; padding-bottom: 120px; position: relative; z-index: 1; } div.left { width: 49%; position: absolute; left: 0; top: 0; bottom: 0; background: #390; } div.right { width: 49%; position: absolute; right: 0; top: 0px; bottom: 0; background: #390;} div.three { position: absolute; height: 100px; width: 49%; background: red; top: 0; right: 0; z-index:2; } div.four { float: right; width: 49%; padding-top: 110px; background: #390;} div.one { float: left; width: 49%; background: #390;} div.wrap div.two, div.wrap div.fife { position: absolute; height: 100px; width: 49%; } div.wrap div.two { bottom: 0; left: 0; background: red;} div.wrap div.fife { bottom: 0; right: 0;background: red;} </style> <!--[if lte IE 6]> <style type="text/css"> div.wrap { height: 100%; } div.wrap div.case { zoom:1;} div.left { height: expression(document.body.clientHeight+'px'); } div.right {height: expression(document.body.clientHeight+'px');} div.four { background: #390;} div.one { background: #390;} </style> <![endif]--> <title>Untitled Document</title> </head> <body> <div class="wrap"> <div class="left"></div> <div class="right"></div> <div class="three">3</div> <div class="case"> <div class="one"> elements” post in the near future. Addendum 2 May 07: I edited the CSS to change background: transparent to background-image: transparent, as it was supposed to be from the outset but I somehow didn’t see in any of the three times I looked over the declarations. So I guess that makes this post now “final.0.1″. Addendum 4 May 07: background-image: transparent? There’s a big ol’ WTF. Apparently my cold medication has warped me a lot more than I believed. I’ve taken out that whole declaration and will not be editing the styles any further until I’m off the meds. So, not quite final, apparently. [The inherit] effects, as seen in my development environment, will still serve the purpose of reminding me to build up the styles I actually want, and not use the browsers' defaults as a crutch. There is the possibility of my forgetting that (for example) IE/Win italicizes em when I don't want it to, but that's something I'll catch during the browser testing phase. So that works for me, and I think for most people who have outlooks similar to mine. But maybe you develop primarily in IE/Win, or you really want to have IE/Win handle as man elements” post in the near future. Addendum 2 May 07: I edited the CSS to change background: transparent to background-image: transparent, as it was supposed to be from the outset but I somehow didn’t see in any of the three times I looked over the declarations. So I guess that makes this post now “final.0.1″. Addendum 4 May 07: background-image: transparent? There’s a big ol’ WTF. Apparently my cold medication has warped me a lot more than I believed. I’ve taken out that whole declaration and will not be editing the styles any further until I’m off the meds. So, not quite final, apparently. [The inherit] effects, as seen in my development environment, will still serve the purpose of reminding me to build up the styles I actually want, and not use the browsers' defaults as a crutch. There is the possibility of my forgetting that (for example) IE/Win italicizes em when I don't want it to, but that's something I'll catch during the browser testing phase. So that works for me, and I think for most people who have outlooks similar to mine. But maybe you develop primarily in IE/Win, or you really want to have IE/Win handle as man elements” post in the near future. Addendum 2 May 07: I edited the CSS to change background: transparent to background-image: transparent, as it was supposed to be from the outset but I somehow didn’t see in any of the three times I looked over the declarations. So I guess that makes this post now “final.0.1″. Addendum 4 May 07: background-image: transparent? There’s a big ol’ WTF. Apparently my cold medication has warped me a lot more than I believed. I’ve taken out that whole declaration and will not be editing the styles any further until I’m off the meds. So, not quite final, apparently. [The inherit] effects, as seen in my development environment, will still serve the purpose of reminding me to build up the styles I actually want, and not use the browsers' defaults as a crutch. There is the possibility of my forgetting that (for example) IE/Win italicizes em when I don't want it to, but that's something I'll catch during the browser testing phase. So that works for me, and I think for most people who have outlooks similar to mine. But maybe you develop primarily in IE/Win, or you really want to have IE/Win handle as man </div> <div class="four"> elements” post in the near future. Addendum 2 May 07: I edited the CSS to change background: transparent to background-image: transparent, as it was supposed to be from the outset but I somehow didn’t see in any of the three times I looked over the declarations. So I guess that makes this post now “final.0.1″. Addendum 4 May 07: background-image: transparent? There’s a big ol’ WTF. Apparently my cold medication has warped me a lot more than I believed. I’ve taken out that whole declaration and will not be editing the styles any further until I’m off the meds. So, not quite final, apparently. [The inherit] effects, as seen in my development environment, will still serve the purpose of reminding me to build up the styles I actually want, and not use the browsers' defaults as a crutch. There is the possibility of my forgetting that (for example) IE/Win italicizes em when I don't want it to, but that's something I'll catch during the browser testing phase. So that works for me, and I think for most people who have outlooks similar to mine. But maybe you develop primarily in IE/Win, or you really want to have IE/Win handle as man </div> </div> <div class="two">2</div> <div class="fife">5</div> </div> </body> </html> Кстати я вот тут кое что поправил и самое интересное, что в ИЕ5 даже работает так же как и в других браузерах!
  18. Justnewone Давай подведём итоги: 1) Звёздочка это плохо, потому что из-за неё долго бегать по странице и всё обнулять? 2) Что такое "Адресный сброс", если можно пример 3) А чем плох допустим Глобальный сброс от того же Майера? 4) Я использую вот такой сброс, чем он плох, какие части в нём плохи, почему и что выкинуть или изменить? html,body, div,dl,dt,dd,ul,ol,li,form,table,tr,td, h1,h2,h3,h4,h5,h6,pre,p,span,b,i,a, input,textarea { margin: 0; padding: 0; outline: none; } h1,h2,h3,h4,h5,h6, input{ font-size: 1em;} ul { list-style-type: none; } img { border: none; } table { border-collapse: collapse; border-spacing: 0; text-align: center; width: 100%; } a { text-decoration: underline; } a:hover { text-decoration: none;} /* remember to define focus styles! */ :focus {outline: 0; }
  19. Хм..странно, а я думал, что как раз таки наоборот всё... Может и правда отказаться от него и использовать простую звёздочку, да и кода меньше
  20. Когдато давно ещё помница сочинял решение для этого дела, нужно было сделать универсальное меню, что-бы оно было полный кросс и наглухо пуленепробиваемое, так вот после долгой засидки над клавиатурой родилось по настоящему классное решение, которое не развалится при любой погоде! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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; padding: 0;} body { font: bold .625em Tahoma, Geneva, sans-serif; margin: 2em;} ul{ width: 30em; background: #eff2df; list-style: none; padding: 2em; position: relative; left: -.3em; top: -.3em; } li { zoom: 1; position: relative; border-bottom: .1em dotted #F00; padding-right: 10em;} li b { padding-right: .5em; position: relative; bottom: -.5em; left: 0; background: #eff2df;} li span { position: absolute; right: 0; bottom: -.5em; background: #eff2df; padding-left: .5em; } div { background: #809900; width: 34em;} </style> </head> <body> <div> <ul> <li> <span>Цена длинная</span> <b>Хм, Хм, посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без л и ш н их посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без л и ш н их </b> </li> <li> <span>Цена длинная</span> <b>Хм, ХмХм, посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без л и ш н их , посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без л и ш н их посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без лишних </b> </li> <li> <span>Цена длинная</span> <b>Хм, посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без лишних </b> </li> <li> <span>Цена длинная</span> <b>Хм, посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без лишних </b> </li> <li> <span>Цена длинная</span> <b>Хм, посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без лишних </b> </li> <li> <span>Цена длинная</span> <b>Хм, посмотрел, покрутил в голове идеи и решил написать своё. Получилось, конечно, похоже, но без лишних </b> </li> </ul> </div> </body> </html>
×
×
  • 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