Jay661
02-16-2009, 08:09 PM
Hi,
First post on here!
...I have a problem with the default margin in IE being 1px less than Firefox. I've stripped my CSS down to be as naked as possible!
It's quite frustrating as I'm quite experienced with CSS, I guess the small silly things do things like this when you've not been CSS'n for a few months!
HTML:- (Just the typical HTML you start with)
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
test
</body>
</html>
CSS:-
* { margin: 0; padding: 0; }
body { margin: 0; padding: 0; }
First post on here!
...I have a problem with the default margin in IE being 1px less than Firefox. I've stripped my CSS down to be as naked as possible!
It's quite frustrating as I'm quite experienced with CSS, I guess the small silly things do things like this when you've not been CSS'n for a few months!
HTML:- (Just the typical HTML you start with)
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
test
</body>
</html>
CSS:-
* { margin: 0; padding: 0; }
body { margin: 0; padding: 0; }