<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style type="text/css"> #test {position: absolute; right: 0; padding-left: 16px; background: url(blue-16x20.png) bottom left no-repeat} b {display: none} span {padding: 0 7.2px} #test1 {border-bottom-width: 1px;} </style> </head><body> <div id="test"> <span id="test1">test1</span><b>|</b><span>test2</span> </div> </body></html>