toby 0 Report post Posted February 22, 2008 I am looking for a CSS Rounded Corners script that works with application/xml+html (I believe this means not document.write), no images, javascript script that works in the main three or so browsers.I've tried a lot, things like Curvey corners jump around a bit and need extra settings in the head. I havn't seen many using bullet points, none through js. Share this post Link to post Share on other sites
yordan 10 Report post Posted February 25, 2008 Have a look here : http://forums.xisto.com/topic/95089-topic/?findpost=1064385295 Share this post Link to post Share on other sites
toby 0 Report post Posted February 25, 2008 I was looking at that topic when I made this one, they both use images.Document write writes where its called, but the xml compatable way, don't you have to append it to somewhere? Share this post Link to post Share on other sites
FirefoxRocks 0 Report post Posted February 27, 2008 Yes, because the XML parser cannot allow you to generate contents on the fly, you must use DOM things to do it. So something like this should be necessary: newElement = document.createElement("img");newElement.alt = "Some alternate text";newElement.src = "urlOfYourImage.png";document.getElementById('yourdiv').appendChild(newElement); A bit much, eh?And by the way, the correct MIME type is application/xhtml+xml, not application/xml+html. Share this post Link to post Share on other sites