torroni
09-28-2007, 08:50 AM
I am using a repeating background image on the body tag to create a blue header bar across the top of the page. In firefox only there is a top-margin of 2px that produces a white gap that I just can't seem to get rid of. I've pasted my code below, any suggestions...?
HTML:
<!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" type="text/css" href="Macintosh HD New:Users:luke:Documents:luke torroni gds:projects:AI Recruitment:website:styles.css" /> <link rel="stylesheet" type="text/css" href="Macintosh HD New:Users:luke:Documents:luke torroni gds:projects:AI Recruitment:website:test.css" /> </head>
<body>
</body>
</html>
CSS:
body {
background-image: url(images/headercloudsrepeat.jpg);
background-repeat: repeat-x;
padding: 0px;
margin: 0px;
}
HTML:
<!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" type="text/css" href="Macintosh HD New:Users:luke:Documents:luke torroni gds:projects:AI Recruitment:website:styles.css" /> <link rel="stylesheet" type="text/css" href="Macintosh HD New:Users:luke:Documents:luke torroni gds:projects:AI Recruitment:website:test.css" /> </head>
<body>
</body>
</html>
CSS:
body {
background-image: url(images/headercloudsrepeat.jpg);
background-repeat: repeat-x;
padding: 0px;
margin: 0px;
}