forum.okis.ru http://forum.okis.ru/ |
|
Блок новостей-дизайн. http://forum.okis.ru/viewtopic.php?f=10&t=1657 |
Страница 1 из 1 |
Автор: | dany191200 [ 25 авг 2011, 22:09 ] |
Заголовок сообщения: | Блок новостей-дизайн. |
Еще раз,Здравствуйте. Сайт http://lampshades.okis.ru/ Как сделать,чтоб дизайн окошка блока новостей,был такой же как и меню? Пыталась прописать код,результат один и тот же. Помогите. Код прописывала этот: Код: .art-blockcontent
{ position: relative; z-index: 0; margin: 0 auto; min-width: 15px; min-height: 15px; } .art-blockcontent-body { position: relative; z-index: 1; padding: 7px; } .art-blockcontent-tr, .art-blockcontent-tl, .art-blockcontent-br, .art-blockcontent-bl, .art-blockcontent-tc, .art-blockcontent-bc,.art-blockcontent-cr, .art-blockcontent-cl { position: absolute; z-index: -1; } .art-art-blockcontent-tr, .art-art-blockcontent-tl, .art-art-blockcontent-br, .art-blockcontent-bl { width: 26px; height: 26px; background-image: url('http://savepic.org/2156189.png'); } .art-blockcontent-tl { top: 0; left: 0; clip: rect(auto, 13px, 13px, auto); } .art-blockcontent-tr { top: 0; right: 0; clip: rect(auto, auto, 13px, 13px); } .art-blockcontent-bl { bottom: 0; left: 0; clip: rect(13px, 13px, auto, auto); } .art-blockcontent-br { bottom: 0; right: 0; clip: rect(13px, auto, auto, 13px); } .art-blockcontent-tc, .art-vmenublock-bc { left: 13px; right: 13px; height: 26px; background-image: url('http://savepic.org/2097818.png'); } .art-blockcontent-tc { top: 0; clip: rect(auto, auto, 13px, auto); } .art-blockcontent-bc { bottom: 0; clip: rect(13px, auto, auto, auto); } .art-blockcontent-cr, .art-vmenublock-cl { top: 13px; bottom: 13px; width: 26px; background-image: url('http://savepic.org/2104986.png'); } .art-blockcontent-cr { right: 0; clip: rect(auto, auto, auto, 13px); } .art-blockcontent-cl { left: 0; clip: rect(auto, 13px, auto, auto); } .art-blockcontent-cc { position: absolute; z-index: -1; top: 13px; left: 13px; right: 13px; bottom: 13px; background-color: #332C28; } .art-blockcontent { margin: 7px; } .art-post { position: relative; z-index: 0; margin: 0 auto; min-width: 25px; min-height: 25px; } .art-post-body { position: relative; z-index: 1; padding: 10px; } .art-post-tr, .art-post-tl, .art-post-br, .art-post-bl, .art-post-tc, .art-post-bc,.art-post-cr, .art-post-cl { position: absolute; z-index: -1; } .art-post-tr, .art-post-tl, .art-post-br, .art-post-bl { width: 36px; height: 36px; background-image: url('http://savepic.org/2135704.png'); } .art-post-tl { top: 0; left: 0; clip: rect(auto, 18px, 18px, auto); } .art-post-tr { top: 0; right: 0; clip: rect(auto, auto, 18px, 18px); } .art-post-bl { bottom: 0; left: 0; clip: rect(18px, 18px, auto, auto); } .art-post-br { bottom: 0; right: 0; clip: rect(18px, auto, auto, 18px); } .art-post-tc, .art-post-bc { left: 18px; right: 18px; height: 36px; background-image: url('http://savepic.org/2113158.png'); } .art-post-tc { top: 0; clip: rect(auto, auto, 18px, auto); } .art-post-bc { bottom: 0; clip: rect(18px, auto, auto, auto); } .art-post-cr, .art-post-cl { top: 18px; bottom: 18px; width: 36px; background-image: url('http://savepic.org/2134681.png'); } .art-post-cr { right: 0; clip: rect(auto, auto, auto, 18px); } .art-post-cl { left: 0; clip: rect(auto, 18px, auto, auto); } .art-post-cc { position: absolute; z-index: -1; top: 18px; left: 18px; right: 18px; bottom: 18px; background-color: #f3dda4; } .art-post { margin: 7px; } a img { border: 0; } .art-article img, img.art-article { margin: 7px; } .art-metadata-icons img { border: none; vertical-align: middle; margin: 2px; } .art-article table, table.art-article { border-collapse: collapse; margin: 1px; width: auto; } .art-article table, table.art-article .art-article tr, .art-article th, .art-article td { background-color: Transparent; } .art-article th, .art-article td { padding: 2px; border: solid 1px #8F7A70; vertical-align: top; text-align: left; } .art-article th { text-align: center; vertical-align: middle; padding: 7px; } pre { overflow: auto; padding: 0.1em; } /* end Box, Post */ /* begin PostHeaderIcon */ .art-post h2.art-postheader, .art-post h2.art-postheader a, .art-post h2.art-postheader a:link, .art-post h2.art-postheader a:visited, .art-post h2.art-postheader a.visited, .art-post h2.art-postheader a:hover, .art-post h2.art-postheader a.hovered { margin: 0.2em 0; padding: 0; font-size: 20px; color: #F9E0AE; } .art-post h2.art-postheader a, .art-post h2.art-postheader a:link, .art-post h2.art-postheader a:visited, .art-post h2.art-postheader a.visited, .art-post h2.art-postheader a:hover, .art-post h2.art-postheader a.hovered { margin: 0; text-decoration: none; color: #F7D797; } .art-post h2.art-postheader a:visited, .art-post h2.art-postheader a.visited { color: #EDEAE8; } .art-post h2.art-postheader a:hover, .art-post h2.art-postheader a.hovered { color: #F7D592; } |
Страница 1 из 1 | Часовой пояс: UTC + 3 часа [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |