HTML CSS examples for CSS Layout:Position
CSS Positioning with browser resizing
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html, body { height:100%; } img {<!--from w ww. ja v a 2 s . c o m--> height:31%; } </style> </head> <body> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </body> </html>