[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

Issue with CSS margins in IE 8

Can someone tell me why in this link:
http://www.pikefin.com/phptest/charts/allassets/linechart.php?a=660

A margin shows up in firefox 3.6.x but there is no margin in IE 8?
0
opike
Asked:
opike
1 Solution
 
s8webCommented:
You need a DocType. Try putting this as your very first line (above your html tag).

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now