azound
12-15-2007, 11:25 PM
Hi,
I'm trying to build a website for a friend, but despite my arguments, she wants the site to be a table-based design with pixel perfect position of its elements.
While the site works great in most browsers, Internet Explorer is randomly offsetting one of my table rows by 2 pixels.
I tried to correct this by putting a javascript browser detect and offsetting the row by 2 pixels to compensate if the browser is internet explorer. Unfortunately, when I go to the site in Internet Explorer, it disallows the script by default, and adds a notification banner to the top of the site saying that the website is trying to run a script which may be dangerous.
Is there any way to change a website based on the users browser without running a script that scares Internet Explorer?
I'm trying to build a website for a friend, but despite my arguments, she wants the site to be a table-based design with pixel perfect position of its elements.
While the site works great in most browsers, Internet Explorer is randomly offsetting one of my table rows by 2 pixels.
I tried to correct this by putting a javascript browser detect and offsetting the row by 2 pixels to compensate if the browser is internet explorer. Unfortunately, when I go to the site in Internet Explorer, it disallows the script by default, and adds a notification banner to the top of the site saying that the website is trying to run a script which may be dangerous.
Is there any way to change a website based on the users browser without running a script that scares Internet Explorer?