Hello and thanks for your time in reading this..
I am using the latest Dreamweaver software and have made my website for the common 1024x768 user.
Although, my resolution is 1900x1200 and all the content therefore appears in the top right of the webpage.
How do I get all the content to always appear in the horizontal middle of the page
Thanks,
Malcolm
Page 1 of 1
DW - Make content appear in middle of page Help with dreamweaver layout
#2
Posted 25 March 2011 - 01:02 PM
put all your body html inside a <div id="wrapper"></div>
then add the following CSS
then add the following CSS
#wrapper { width:960px; margin:0 auto; }
#4
Posted 30 March 2011 - 07:57 PM
Malcolm, on 28 March 2011 - 08:00 PM, said:
Thanks, erm.. how do you add the CSS code in
you can do that by creating a css file and putting it in there and then linking the css into the head of your html file like below
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
or you could put the css straight into your html like
<head>
<style type="text/css">
#wrapper { width:960px; margin:0 auto; }
</style>
</head>
hope you get what im trying to say
Share this topic:
Page 1 of 1
Help















