If you can do this in CSS2, let me know. Like this below Need left rounded corner. The rest of borders should: border-xxxx: 2px solid #xxxxx; or something It should work on the major browsers including IE 7. When I add more content, the height of box should expand itself.
That is css with an image, I'd set up the div and css for you, but I would require more than 2.50 compensation.
Even if u do it in pure css with the option of expanding as height increases and also browser compatible, the amount u r proposing is very less.
try this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html dir="ltr" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style type="text/css"> * { margin:0; padding:0; } .box { width:292px; } .box .box-top { width:100%; height:12px; font:2px; background:url('http://img136.imageshack.us/img136/6796/boxtop.png') top left no-repeat; } .box .box-content { border-left:2px solid #e78f8f; border-right:2px solid #e78f8f; border-bottom:2px solid #e78f8f; } .box .box-content p { padding:10px; } </style> </head> <body> <!--box begin --> <div class="box"> <div class="box-top"></div> <div class="box-content"> <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." </p> </div> </div> <!--box end--> </body> </html> HTML: