Jump to content
Killersites Community
  • Announcements

    • administrator

      New Forum is Live!   10/18/2017

      Welcome to the rebirth of the KillerSites community! Much to come as we clean house and get the new sections in place. Stef  
Sign in to follow this  
Guest mitch

css help with centering banner in dreamweaver

Recommended Posts

Guest mitch

can someone offer some help on how i can get my bannert to center in page. it looks fine on my monitor but when i get on my laptop it looks tiny. I really am new to all the site building but i do enjoy learning. I just need ghelp from someone who has the lnow how. my site is www.springstrutters.com. check it out and tell me how to use it. I am using dreamweaver 8. I also need to know how to build a spry menu in dreamweaver 8. I said this so you wouldn't think I was going to leave the navigation bar like it is. But we will deal with one issue at a time. The most pressing is centering my banner and page. I have attached the home page for anybody who can help. Thanks for your help.

index.html

Share this post


Link to post
Share on other sites

You can add style="text-align: center;" to your <p> tag that is wrapped around the image.

 

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:

 

</div>

 

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×