HTML CSS examples for CSS Layout:Responsive Layout
Three images horizontal w/ responsive design
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #grid {<!-- w w w. j ava 2s .c om--> padding:0 11px; text-align:center; } #grid img { margin:11px; display:inline-block; } </style> </head> <body> <div id="grid"> <a href="http://mywebsite.com/info/"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </a> <a href="http://mywebsite.com/about/"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </a> <a href="http://mywebsite.com/contact/"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </a> </div> </body> </html>