html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } .menu { background-color: grey; border-radius: 10px; height: 70px; width: 100%; } p2 { border-radius: 40px; font-size: 20px; color: rgb(255, 255, 255); float: left; background-color: rgb(255, 0, 0); padding-left: 5.25%; padding-right:5.25%; margin-top: 2%; margin-left: 2%; margin-right: 2%; } .img-with-text { text-align: justify; width:0; } .img-with-text img { display: block; margin: 0 auto; margin-top:30px; height: 200px; width: 300px; } img{ margin-top:20px; height: 20%; width: 20%; }