jimmyshoes
Programmer
I am trying to emulate the 960px screen width as exemplified at My code however does not render at the same 960 px size. The horizontal srollbars of both pages do not match
Can anyone tell me what I am doing wrong?
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<div style="margin-left:auto;margin-right:auto;width:960px;">
<div style="width:940px;border:1px solid #000"></div>
</div>
</body>
</html>
Can anyone tell me what I am doing wrong?