<html> <body> <fieldset> <legend style="background:red; margin:0; border:0; padding:0;"> <span style="float:left; display:inline-block; background:green; width:100px; height:100px;"> </legend> </fieldset> </body> </html>