I know that a round corner is impossible for IE without Javascript or images. JS solution will not work if js is disabled, so I want to go to image option
I need any images + css solution to make a cross-browser round corner div with a minimal , easy to make and pure semantic and W3C real , extensible and minimal use of images and working with Photoshop.
I know about FF, and safari can do with pure css, but I need a cross browser solution without javascript. I want to do with minimal use of XHTML code and images.
I wrote about this a few years ago: semantic HTML, one image, minimal CSS, works in most browsers. Combines several methods.
http://www.the-haystack.com/2006/03/16/rounded-corners/
However, I would go in (-[prefix]-)border-radiusfor browsers that support it, and leave the other browsers as they are.
(-[prefix]-)border-radius
See 25 rounded corner methods using CSS .
ThrashBox - .
(: cssjuice.com)
XHTML:
<div class="sidebox"> <div class="boxhead"><h2>Test Headline</h2></div> <div class="boxbody"> <p>This is a short sample paragraph.</p> <p>And another one.</p> </div> </div>
, - .
CSS .
-
<div id="box"> <p>content</p> <span class="top-left"></span> <span class="top-right"></span> <span class="bottom-left"></span> <span class="bottom-right"></span> </div>
span . span s, . , #box .
span
#box
. , .
( ), , span IE, -, IE. , , .
There are a lot of evil borders and krazy korners on this site , Stu rock!
Also, you were not specific in your question about boxes or buttons, so you can check these links for some CSS methods:
SO answer and some links: Sexy buttons and indestructible buttons
Source: https://habr.com/ru/post/1720855/More articles:Is it right to say that "Java is platform independent, but version dependent?" - javaКак определить, зашифрован ли файл с помощью EFS? - c#Program reload automatically when an error occurs - pythonCakePHP Pagination Sort data from a model - sortingCoreData countForFetchRequest says "object not found" - objective-cHow do you std :: vector in Xcode + C ++? - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1720857/is-it-efficient-to-use-mars-to-update-7000-rows&usg=ALkJrhhv_LpxHhoAVxn9g9Q6knqSbZswcAIn which version of Python was the initialization syntax set - pythonMulticastDelegate in ObjectiveC - objective-cWhat is meant by this. use after number in fortran? - fortranAll Articles