I want to create a div always displayed on the left-most of the browser window,], Will you give me some hints?
Try it out:
div # mydiv {status: fixed; Left: 0; } You might also like to add top or below so that it can not sit on top of the screen.
Something like this:
div # mydiv {status: fixed; Left: 0; Top: 200px; / * 200px above * /} or:
div # mydiv {status: fixed; Left: 0; Bottom: 200px; / * Below 200px * /} or:
div # mydiv {status: fixed; Left: 0; Top: 50%; / * Half way through side * /}
Comments
Post a Comment