HTML CSS examples for CSS Layout:Box
Custom popup dialog box
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!-- w w w . j a v a 2 s . c om--> background:Chartreuse; } #box { background:yellow; width:301px; height:201px; margin-left:auto; margin-right:auto; } #arrow { display:block; margin-top:171px; height:31px; width:100%; } #arrow img { margin-left:21px; } </style> </head> <body> <div id="box"> Lorem ips <div id="arrow"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png" alt=""> </div> </div> </body> </html>