Rounded corners in MS IE 7 - on Intranet with no a

2019-08-12 07:29发布

问题:

I got a good answer to my previous question Rounded corners in MS IE 7 ...

it was my own stupid fault for forgetting to mention that it is for an intranet which can't access the outside world, and that JS is forbidden, so I can't use HTC.

So, here's the question again.. Can I (and, if so, what's the simplest way to) get (scalable) rounded corners in MS IE 7+ using only CSS/HTML ... images are ok, but I worry about the user resizing the browser. A bonus if it's cross-browser, but IE7+ with no JS/HTC suffices

回答1:

There are a few ways to do it -

SpiffyCorners - http://spiffycorners.com/

With images - http://modxcms.com/about/team/rthrash/simple-rounded-corner-css-boxes.html

MS VML - http://www.notgeeklycorrect.com/web-development/2010/01/21/easy-rounded-corners-working-in-ie7ie8

Google around there are tons of ways to do this without CSS3.