MaXeL85 Posted May 28, 2010 Report Share Posted May 28, 2010 Приветствую!Подскажите, пожалуйста, как на html можно создать бордер в один пиксель заданного цвета вокруг всего тела сайта?Заранее спасибо! Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted May 28, 2010 Report Share Posted May 28, 2010 Приветствую!Подскажите, пожалуйста, как на html можно создать бордер в один пиксель заданного цвета вокруг всего тела сайта?Заранее спасибо!Можно и на форуме уже поднималась эта тема, пользуйся поиском. Quote Link to comment Share on other sites More sharing options...
0 Searcher Posted May 28, 2010 Report Share Posted May 28, 2010 Не ленимся и находим... Quote Link to comment Share on other sites More sharing options...
0 MaXeL85 Posted May 28, 2010 Author Report Share Posted May 28, 2010 Не ленимся и находим... господа модераторы... Я тут с телефона и причем далеко не с комуникатора или смартфона. Так что я просто не в состоянии перерыть весь форум не зная его структуры. Если можно, дайте линк на ту тему. Quote Link to comment Share on other sites More sharing options...
0 Searcher Posted May 28, 2010 Report Share Posted May 28, 2010 Сайт пишем тоже с телефона? Ну это мегагемор Я как раз и дал ссылку на тему. Quote Link to comment Share on other sites More sharing options...
0 MaXeL85 Posted May 28, 2010 Author Report Share Posted May 28, 2010 Сайт пишем тоже с телефона? Ну это мегагемор Я как раз и дал ссылку на тему.простите, мне опера ссылочку не подсветила.Мегагемор это поднимать сайт на апаче, установленном в девятом симбиане. Год назад я и таким занимался... Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted May 28, 2010 Report Share Posted May 28, 2010 Решение Медведя <!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>test</title> <style type="text/css"> html{height:100%;} body{ margin:0; height:100%; background:#d03900; } .bt, .bb{ height:10px; background:#d03900; overflow:hidden; margin:-10px 0 0; position:relative; } .bt{margin:0 0 -10px;} #wrapper{ min-height:100%; margin:0 10px; background:#fff; } * html #wrapper{height:100%;} #main{ padding:10px; } </style></head><body> <div class="bt"></div> <div id="wrapper"> <div id="main"> <p>Lorem ipsum dolor sit amet consectetuer auctor sed neque rhoncus elit. Malesuada quis leo pretium Nulla consectetuer quam sit Suspendisse at sed. Vestibulum nunc Integer Lorem eget Phasellus convallis neque convallis ut Nulla. Nibh quis eleifend nec et habitant senectus eget wisi morbi ante. Neque adipiscing nec pede nunc a tellus semper eget nibh Vivamus. Diam.</p> <p>Ligula eleifend ac dictum ut elit felis massa Maecenas congue in. Justo et id et pretium enim consequat feugiat nascetur auctor Nam. Id vestibulum justo parturient diam pretium lorem ante dui gravida auctor. Lorem Sed egestas a Curabitur Quisque et sociis aliquam commodo suscipit. Consectetuer mauris Ut turpis wisi.</p> </div> </div> <div class="bb"></div></body></html> Quote Link to comment Share on other sites More sharing options...
0 klierik Posted May 28, 2010 Report Share Posted May 28, 2010 html { border: 1px solid #000000; } Quote Link to comment Share on other sites More sharing options...
0 MaXeL85 Posted May 28, 2010 Author Report Share Posted May 28, 2010 Спасибо, я уже решил этот вопрос несколько иным методом. Будет время - скопирую код на память будущим поколениям. :-) Quote Link to comment Share on other sites More sharing options...
Question
MaXeL85
Приветствую!
Подскажите, пожалуйста, как на html можно создать бордер в один пиксель заданного цвета вокруг всего тела сайта?
Заранее спасибо!
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.