Search code examples
javascriptsafarioffsetwidth

Safari is returning the wrong width value


Hi I have a table with a div in it the table has 2 columns and both are 50% In most browsers I can use offsetWidth to get the width of the article. But in Safari the width is less or more than what it should be. Any help would be greatly appriciated. Regards Richard


Solution

  • Just set the width and height - safari's bug -just accept it.