height что это значит
height
Internet Explorer | Chrome | Opera | Safari | Firefox | Android | iOS | |
6.0+ | 8.0+ | 1.0+ | 3.5+ | 3.1+ | 1.0+ | 1.0+ | 1.0+ |
Краткая информация
Значение по умолчанию | auto |
---|---|
Наследуется | Нет |
Применяется | К блочным и заменяемым элементам |
Ссылка на спецификацию | http://www.w3.org/TR/CSS21/visudet.html#propdef-height |
Версии CSS
Описание
Устанавливает высоту блочных или заменяемых элементов (к ним, например, относится тег ). Высота не включает толщину границ вокруг элемента, значение отступов и полей.
Если содержимое блока превышает указанную высоту, то высота элемента останется неизменной, а содержимое будет отображаться поверх него. Из-за этой особенности может получиться наложение содержимого элементов друг на друга, когда элементы в коде HTML идут последовательно. Чтобы этого не произошло, добавьте overflow : auto к стилю элемента.
Синтаксис
height: значение | проценты | auto | inherit
Значения
В качестве значений принимаются любые единицы длины, принятые в CSS — например, пикселы (px), дюймы (in), пункты (pt) и др. При использовании процентной записи высота элемента вычисляется в зависимости от высоты родительского элемента. Если родитель явно не указан, то в его качестве выступает окно браузера. auto устанавливает высоту исходя из содержимого элемента
HTML5 CSS2.1 IE Cr Op Sa Fx
Результат данного примера показан на рис. 1.
Рис. 1. Применение свойства height
Объектная модель
[window.]document.getElementById(» elementID «).style.height
Браузеры
В режиме совместимости (quirk mode) Internet Explorer до версии 8.0 включительно неправильно вычисляет высоту элемента, не добавляя к ней значение отступов, полей и границ.
height
Полезное
Смотреть что такое «height» в других словарях:
height — W2S2 [haıt] n ▬▬▬▬▬▬▬ 1¦(how tall)¦ 2¦(distance above the ground)¦ 3¦(high place)¦ 4 new/great/dizzy etc heights 5 the height of something 6 be at the height of your success/fame/powers etc 7 be the height of fashion/stupidity/luxury etc ▬▬▬▬▬▬▬… … Dictionary of contemporary English
height — [ haıt ] noun *** 1. ) count or uncount how high something is, or how tall someone is: He was about the same height as his wife. in height: a graceful tower, rising to 400 feet in height someone s full height (=their height when they stand up… … Usage of the words and phrases in modern English
Height — (h[imac]t), n. [Written also
height — [hīt] n. [< earlier highth < ME heighthe < OE hiehthu (akin to Goth hauhitha) < heah: see HIGH & TH1] 1. the topmost point of anything 2. the highest limit; greatest degree; extreme; climax; culmination [the height of absurdity] 3.… … English World dictionary
height — height, altitude, elevation mean the distance a thing rises above the level on which it stands, or the vertical distance between a given level taken as a base and a thing that is above it. Height may be used with reference to whatever can be so… … New Dictionary of Synonyms
Height — ist der Familienname folgender Personen: Dorothy Height (1912–2010), US amerikanische Politikerin, Bürgerrechtlerin und Sozialarbeiterin Siehe auch: Heightmap, siehe Höhenfelder, zweidimensionale skalare Felder, die ein Höhenrelief beschreiben… … Deutsch Wikipedia
height — ► NOUN 1) the measurement of someone or something from head to foot or from base to top. 2) the distance of something above ground or sea level. 3) the quality of being tall or high. 4) a high place or area. 5) the most intense part or period:… … English terms dictionary
height´en|er — height|en «HY tuhn», transitive verb. 1. to make higher; elevate: »The builder heightened the doorway to accommodate the tall owner. 2. Figurative. to make stronger or greater; increase: »The clowns and the band heightened the children s pleasure … Useful english dictionary
height|en — «HY tuhn», transitive verb. 1. to make higher; elevate: »The builder heightened the doorway to accommodate the tall owner. 2. Figurative. to make stronger or greater; increase: »The clowns and the band heightened the children s pleasure. Wax… … Useful english dictionary
существительное ↓
Мои примеры
Словосочетания
Примеры
What’s the height of the building?
Какова высота этого здания?
Height is a function of age.
Рост человека зависит от возраста.
He is about average in height.
Роста он примерно среднего.
State your age, height, and weight.
Укажите ваш возраст, рост и вес.
He died at the height of his fame.
Он умер на вершине своей славы.
He drew himself up to his full height.
Он выпрямился во весь рост.
Weight increases in proportion to height.
Вес увеличивается пропорционально росту.
She’s of medium height.
Она среднего роста.
The plane was rapidly losing height.
Самолёт быстро терял высоту.
It’s the height of chic this year.
В этом году это писк моды.
We were measured for height and weight.
Они измерили наш рост и вес.
There is no evidence correlating height and intelligence.
Нет никаких доказательств связи роста с уровнем интеллекта.
Height is a function of age.
Рост зависит от возраста.
Rachel had always been scared of heights.
Рэйчел всегда боялась высоты.
He was in his late twenties and of average height.
Роста он был среднего, чуть младше тридцати лет.
It was a miracle that he survived the drop from that height.
Просто чудо, что он выжил после падения с такой высоты.
I was surprised by his height.
Я была удивлена его ростом.
Dick has already passed his father in height.
Дик уже выше своего отца.
Rome at the height of its glory
Рим в апогее своей славы
Its minimum height from the sea is 900 feet.
The Beatles were at the height of their fame.
Группа «Битлз» была на вершине своей славы.
Sunflowers can grow to a height of fifteen feet.
Подсолнухи могут вырасти до высоты в пятнадцать футов.
In the driving seat sat a man of average height.
На месте водителя сидел мужчина среднего роста.
At that time, the Beatles were at the height of their fame.
В то время «Битлз» были на пике своей славы.
They did not carry this tower to the height it now is.
Они не достроили башню до той высоты, какую она имеет сейчас.
I make the height about 100 feet.
По моим расчётам /прикидкам/, высота — около ста футов.
Sam’s about the same height as his sister now.
Сэм сейчас примерно одного роста со своей сестрой.
Her feet are small in proportion to her height.
Её ступни небольшие по соотношению с ростом.
These bushes grow to heights of up to five feet.
Эти кусты вырастают до высоты пяти футов.
This plant eventually reaches a height of 15 feet.
Со временем это растение достигает высоты пятнадцати футов.
Примеры, ожидающие перевода
His height and weight are in the 80th percentile for boys his age.
The aircraft was flying at a height of 10,000 metres.
None of these sculptures was less than three metres in height.