On 2/2/07, francky <[EMAIL PROTECTED]> wrote: > Stephan Wehner wrote: > > Hey there, > > Looking at NiftyCorners > > > > http://www.html.it/articoli/niftycube/index.html > > > > it's kind of nice to have rounded corners for a whole box. > > But how does one get rounded corners for borders? > > It's possible with images, see > > > > http://www.albin.net/CSS/roundedCorners/examples.html and > > > > > > http://www.webcredible.co.uk/user-friendly-resources/css/css-round-corners-borders.shtml > Hi Stephan, > A little warning about these two solutions: using a different background > color (outside the box or inside the box) can give problems. - With > changed background color: > > * Screenshot Albin.net corners > > <http://home.tiscali.nl/developerscorner/liquidcorners/wiz/images/screenshot-albinnet.png> > * Screenshot Webcredible corners > > <http://home.tiscali.nl/developerscorner/liquidcorners/tmp/images/screenshot-webcredible.png> >
Sorry, I didn't understand the warning. I'm not sure what is wrong with what these show. > For the used method and more tested solutions: see the discussion of > some days ago in the topic Rounded Corners > <http://archivist.incutio.com/viewlist/css-discuss/84509> > > but I think without images is better. > Do you have a special reason for this? If no images, then javascript > > if javascript disabled by the visitor's browser > no corners. As far as I can tell, what the javascript does, one can do with server-side code that generates the HTML (or by typing it out by hand). In my case I find that superior to using javascript, since then one can control the corner-rounding with the CSS file. > On the other hand: if images used and images disabled by the visitor's > browser > no corners. :-) What I am seeing is that one can do this without javascript and without images. > IMO it's more risk that js is disabled than that images are disabled. > > I do have a way to do it, but I think I'm on the wrong path since the > > inner corners are not rounded and I'm not sure how to do that. > > > This ... is difficult to say, as you didn't give us a link to what you > did already (changing the niftycube script?) Yes, I left that out since I thought it might happen that I didn't find what you are pointing out in the next paragraph (Ruzee...): > > Thanks a lot! > > Stephan > Maybe, if your intention is to use a javascript + css solution, you can > have a look at the Ruzee.borders <http://www.ruzee.com/blog/ruzeeborders/> I think that does what I was looking for, if I extract the javascript-generated HTML. Thanks! Stephan > > Greetings, > francky > -- Stephan Wehner > http://stephan.sugarmotor.org > http://stephansmap.org > http://www.trafficlife.com > http://www.buckmaster.ca ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/