Erg - I hit send too soon... If you look at document.styleSheets[0].cssRule[4].style.borderTop in the Firebug DOM tab, it looks like it should be returning a value for that attribute. I can't tell you why it doesn't at the moment, but if you query borderTopWidth, borderTopColor, or borderTopStyle they return the correct values.
$(function(){ $(".box").each(function(){ var str ="width: " + getComputedStyle(this,"width") + "<br/>"; str+="margin-top: " + getComputedStyle(this,"marginTop") + "<br/ >"; str+="border-top: " + getComputedStyle(this,"borderTopWidth") + "<br/>"; str+="border-top: " + getComputedStyle(this,"borderTopColor") + "<br/>"; str+="border-top: " + getComputedStyle(this,"borderTopStyle") + "<br/>"; $(this).html(str); }); }); On Jun 23, 2:33 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > Another weekend, another plugin =P > > zoomi:http://www.sunsean.com/zoomi/ > > So here's the scoop. It's almost ready, beta as some people call it. > I'm releasing as beta because I want your input on a feature... and > there is still one more bug. > > The feature I'm wondering about, is if the zoom2 image should inherit > the classes of the original image. (If what I'm saying makes no sense, > go view the source code of the zoomi page above) > > The only bug is that if there is a border around the zoom2 image using > css, then it won't be in the right spot. I've run into a interesting > problem, I can't get the styles from the css file. Check out the > example of this problem here:http://www.sunsean.com/styletest/If > anyone knows the answer please let me know. > > Enjoy ^_^ > > ~Sean