noob simple html Q
noob simple html Q
Out of context: Reply #7
- Started
- Last post
- 15 Responses
- orrinward0
That CSS goes in either a css file and link to it in the page, or in <style> tags.
<style type="text/css">
html, body {
margin:0;
padding:0;
width:100%;
height:100%
}
#container{
position:absolute;
top:50%;
left:50%;
margin-left:-(half the width);
margin-top:-(half the height);
}
</script>
</head>
<body>
<div id="container">
ALL YOUR SHIT GOES HERE
</div>
</body>