Jump to content

Jolly1

Newbie
  • Posts

    3
  • Joined

  • Last visited

Jolly1's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. max2012 А Вы можете написать как правильно?
  2. Спасибо за ответ, но в таком случае картинка фиксированная, а мне нужно как здесь: http://shpargalkablog.ru/2012/06/kartinka-po-razmeru-ekrana-css.html Помогите, пожалуйста.
  3. <img src="/images/logo.png" style="float: left; margin: 0 10px; max-width: 100%; height: auto;"/> Если ставлю в html, то картинка работает. А если преобразую в css, то картинка исчезает. Что неправильно? HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...ransitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <title>Документ Без Имени</title> <link href="im.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="min"></div> </body> </html> CSS: .min { background-image: url(logo.png); float: left; margin: 0 10px; max-width: 100%; height: auto; }
×
×
  • 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