Solved

Issue with CSS margins in IE 8

Posted on 2011-03-24
1
251 Views
Last Modified: 2012-08-13
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
Comment
Question by:opike
1 Comment
 
LVL 16

Accepted Solution

by:
s8web earned 500 total points
ID: 35209046
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now