DIV fixed

User 450830 Photo


Registered User
148 posts

Hello

How can I (DIV) Row Hold (position: fixed;)
And how can I display a container heights to normal I did this as follows: (max-height: 100vh) so no px.
with this script:
<script>
var bool;

Modernizr.testStyles ("# Modernizr {width: 1vw;} ', function (elem, rule) {
var width = window.innerWidth/100;
comp style = parseInt ((window.getComputedStyle?
getComputedStyle (elem, null):
elem.currentStyle) ["width"], 10);

bool = (comp style == width)!;
});

console.log (comp style);
</ script>

greeting.
Ger
groet,

Ger van Veen
http://schilder-vanveen.nl

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.