I wann use the curved borderd div so i used the moz-border-radius, webkit-border-radius it works exact on mozilla, chrome, safari as i want but this isn't work on IE so what should i do to look it same on any browser......
IE browsers older than version 8 donot support CSS 3. Hence it will not work in IE8 or less versions but will work for IE9
here is d code...
<div id="div1" style="height: 560px; width: 560px; -webkit-border-radius: 280px; -moz-border-radius: 280px; background-color: #666699;">
i tried in IE9 but still same
check this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> div { border: 2px solid #000; padding: 10px 40px; background: #ccc; width: 200px; border-radius: 25px; -moz-border-radius: 25px; } </style> </head> <body> <form id="form1"> <div> This is a round corner DIV </div> </form> </body> </html>
Demo
thank you..........!
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.