[haiku-web] Re: CSS notice boxes challenge


Am 17.06.2008 um 03:16 schrieb Jorge G. Mare:

Not so fast. :)

I think I may have found the kind of solution that I was looking for. Please see the following example:

http://myhaiku.org/css-test/corners.html

This uses Nifty Corners from...

http://www.html.it/articoli/niftycube/

...which relies on a combination of JS & CSS.


I thought you wanted as pure a CSS solution as possible? Yes, it works and it's easy to do the HTML for because the Javascript does all the work after the page has loaded. Unfortunately this means that boxes "flash" as are redrawn by Javascript. Personally I find this very annoying. Compare this to adding border-radius: 1em; to your style and listening to the applause from users of Safari 3.0, Firefox 3.0 (isn't the big stampede due to start soon?) Opera 9.5 and presumably IE 8.0 when it gets released this autumn. Possibly the best solution would be to combine the two approaches with an IE < 8 specific declaration to use the script.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



-----------------------------------------------------------------------
haiku-web@xxxxxxxxxxxxx - Haiku Web & Developer Support Discussion List

Other related posts: