#MyDIV { padding:25px; border:10px dotted #000000; background-color:yellow; background-clip:content-box; }