...

View Full Version : margins



ajthornton
12-01-2005, 06:42 PM
I know html and am trying to learn php and css. I am trying to get away from the old <body bgcolor="#123456"> and using something like this <body style="background:#000000"> I am having touble with the margins. I do not want any, but an uncertain on the coding for the margins with style.

_Aerospace_Eng_
12-01-2005, 08:12 PM
No need to post the same question more than once.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>XtremePain: Reloaded</title>
<style type="text/css">
body {
margin:0;
padding:0;
background:#000000;
}
</style>
</head>
<body>

</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum