Prototype v 1.6.0.2 Here is the sample code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>fix width</title> <script type="text/javascript" src="prototype.js"></script> </head> <body> <table><tr><td id="TD">1</td></tr></table> <script type="text/javascript">alert($("TD").getStyle("margin"));</ script> </body> </html> On Apr 22, 4:46 pm, joneff <[EMAIL PROTECTED]> wrote: > The same applies for the single margin values e.g. -left, -right, - > top, -bottom; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
