Jump to content

Nikolay7

Neophyte
  • Posts

    2
  • Joined

  • Last visited

Nikolay7's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Спасибо что подсказали, что между Font-size и line-height нужно ставить слэш. У меня есть формула сокращённой записи и там стоит /, я только сейчас это заметил... Спасибо за подсказку Спасибо что подсказали, вы меня выручили...
  2. Добрый день Уважаемый саппорт. Моя проблема заключается в следующем: когда я пишу свойство font короткой записью, и в ней указываю значение свойства line-height: множитель указываю, в пикселях или в др. величинах, браузер все правила сбрасывает в ноль, т.е как будто я не прописывал никаких css-свойств. Но когда расписываешь полностью все свойства текста, без короткой записи - line-height срабатывает. Если одновременно, между { } скобками прописываешь отдельно line-height: со значением и следующей строкой пишешь короткую запись font, не указывая при этом значения этого свойства, т.к это свойство было указано выше, то браузер применяет все правила указанные в короткой записи, но игнорирует правило line-height. Подскажите пожалуйста где у меня ошибка. Прикладываю Вам код <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>font</title> <style> .new { color:#AB4533; line-height:40px; font:italic 20px Tahoma; } </style> </head> <body> <h1>What is Lorem Ipsum?</h1> <p class="new">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.</p> </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