css help with centering banner in dreamweaver
Posted 05 February 2011 - 06:55 PM
Posted 05 February 2011 - 07:19 PM
Your biggest problem is not having anything to contain your content.
If you are up to it, hand code this in:
In code view, look for <body>
Add this right after that:
<div style="width: 960px; margin: 0 auto;">
Next, find the closing </body> tag
Add this just before it:
The above will set your framework/layout to be centered while keeping all your content contained within that <div>.
If you haven't coded before then may I suggest viewing Stef's Killersite's Videos. You will find that hand coding will give you the results you are looking for.
Edited by Eddie, 05 February 2011 - 07:20 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users