close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Centering outer wrapper in existing template

Thread began 2/01/2010 5:08 am by emma396425 | Last modified 2/01/2010 2:17 pm by emma396425 | 3769 views | 5 replies |

emma396425

Centering outer wrapper in existing template

I have created a website using a template from Webassist Pro, however, the template is set such that the outer wrapper is aligned to the left.

I would like to change this, so that it is centred but have been unable to work it out for myself. I would be grateful if you could help!

Many thanks

Sign in to reply to this post

neilo

Hi emma,

Would it be possible for you to upload the template so that we can better advise? It's not easy to diagnose the problem without seeing it. (Although it's tempting to suggest setting the 'margin' property of the outerWrapper to 'auto')

Sign in to reply to this post

emma396425

Thanks for the reply - sorry if I'm being stupid, but I'm new to this! The website is live at www.atlaspropertysolutions.co.uk.

Thanks

Sign in to reply to this post

Justin Nemeth

Edit the #outerWrapper rule in your css and add margin: 0 auto; to it. Basically, the auto tells it to automatically determine the left and right margins with the end result being a centered outerWrapper.

-justin

Sign in to reply to this post

neilo

Sorry Emma,

The easiest way to explain how to change it is this:

If you open your home.css stylesheet (which is at: CSSMenuWriter/cssmw_home/menu.css) in DreamWeaver and look at or about line 75, you will see the following block of rules for the outerWrapper div:

#outerWrapper {
background-color: #ffffff;
border-top: solid 5px #ffffff; /* Sets the top border properties for an element using shorthand notation */
margin-left: 4px;
margin-right: 0px;
margin-top: 4px;
text-align: left; /* Redefines the text alignment defined by the body element. */
width: 760px;
}


Change it to this:

#outerWrapper {
background-color: #ffffff;
border-top: solid 5px #ffffff; /* Sets the top border properties for an element using shorthand notation */
margin: 0 auto;
text-align: left; /* Redefines the text alignment defined by the body element. */
width: 760px;
}



Then save your changes.

Sign in to reply to this post

emma396425

Thank you!

Thanks guys - got it working now!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...